From: Uros Bizjak Date: Tue, 19 Jan 2016 17:10:31 +0000 (+0100) Subject: re PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution... X-Git-Tag: upstream/12.2.0~49361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7596d5de9363552b3953a4e13d6afeaf5096f108;p=platform%2Fupstream%2Fgcc.git re PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution, -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects) PR testsuite/68820 * gcc.c-torture/execute/builtins/memops-asm.x: New file. * gcc.c-torture/execute/builtins/strstr-asm.x: Ditto. * gcc.c-torture/execute/builtins/strstr-asm.c: Remove dg-options. From-SVN: r232573 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b0a44cd..7130875 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-01-19 Uros Bizjak + + PR testsuite/68820 + * gcc.c-torture/execute/builtins/memops-asm.x: New file. + * gcc.c-torture/execute/builtins/strstr-asm.x: Ditto. + * gcc.c-torture/execute/builtins/strstr-asm.c: Remove dg-options. + 2016-01-19 Jan Hubicka PR ipa/66223 @@ -338,8 +345,7 @@ 2016-01-15 Dominik Vogt - * gfortran.dg/bind_c_array_params_2.f90: Fix test patterns for - S/390. + * gfortran.dg/bind_c_array_params_2.f90: Fix test patterns for S/390. 2016-01-15 Dominik Vogt diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x b/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x new file mode 100644 index 0000000..031049d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/memops-asm.x @@ -0,0 +1,10 @@ +# Different translation units may have different user name overrides +# and we do not preserve enough context to known which one we want. + +set torture_eval_before_compile { + if {[string match {*-flto*} "$option"]} { + continue + } +} + +return 0 diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c index 4167841..3c3e45d 100644 --- a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c @@ -2,7 +2,6 @@ Ensure all expected transformations of builtin strstr occur and perform correctly in presence of redirect. */ -/* { dg-options "-ffat-lto-objects" } */ #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname) #define ASMNAME2(prefix, cname) STRING (prefix) cname diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x new file mode 100644 index 0000000..031049d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.x @@ -0,0 +1,10 @@ +# Different translation units may have different user name overrides +# and we do not preserve enough context to known which one we want. + +set torture_eval_before_compile { + if {[string match {*-flto*} "$option"]} { + continue + } +} + +return 0