diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2015-12-17 08:43:48 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2015-12-17 08:43:48 +0000 |
commit | 09204fa9fc36f347fedf14ea0f0e86cc9a5b92bb (patch) | |
tree | 23e1e9acac646bd6c1f40d88d3cdf19bbcdf78d2 /gcc | |
parent | f85e1317f8ea933f5c615680353bd646f480f7d3 (diff) | |
download | gcc-09204fa9fc36f347fedf14ea0f0e86cc9a5b92bb.zip gcc-09204fa9fc36f347fedf14ea0f0e86cc9a5b92bb.tar.gz gcc-09204fa9fc36f347fedf14ea0f0e86cc9a5b92bb.tar.bz2 |
revert: re PR testsuite/68629 (FAIL: c-c++-common/attr-simd-3.c)
2015-12-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
Revert:
2015-12-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
PR testsuite/68629
* lib/target-supports.exp (check_effective_target_cilkplus): Also
check that compiling with -fcilkplus does not give an error.
* c-c++-common/attr-simd-3.c: Require cilkplus effective target.
From-SVN: r231745
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/attr-simd-3.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 7 |
3 files changed, 11 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 697fd06..5dba000 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2015-12-17 Thomas Preud'homme <thomas.preudhomme@arm.com> + + Revert: + 2015-12-14 Thomas Preud'homme <thomas.preudhomme@arm.com> + + PR testsuite/68629 + * lib/target-supports.exp (check_effective_target_cilkplus): Also + check that compiling with -fcilkplus does not give an error. + * c-c++-common/attr-simd-3.c: Require cilkplus effective target. + 2015-12-16 Patrick Palka <ppalka@gcc.gnu.org> PR c++/16333 diff --git a/gcc/testsuite/c-c++-common/attr-simd-3.c b/gcc/testsuite/c-c++-common/attr-simd-3.c index 1970c67..d61ba82 100644 --- a/gcc/testsuite/c-c++-common/attr-simd-3.c +++ b/gcc/testsuite/c-c++-common/attr-simd-3.c @@ -1,5 +1,4 @@ /* { dg-do compile } */ -/* { dg-require-effective-target "cilkplus" } */ /* { dg-options "-fcilkplus" } */ /* { dg-prune-output "undeclared here \\(not in a function\\)|\[^\n\r\]* was not declared in this scope" } */ diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 3184775..a0de314 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -1432,12 +1432,7 @@ proc check_effective_target_cilkplus { } { if { [istarget avr-*-*] } { return 0; } - return [ check_no_compiler_messages_nocache fcilkplus_available executable { - #ifdef __cplusplus - extern "C" - #endif - int dummy; - } "-fcilkplus" ] + return 1 } proc check_linker_plugin_available { } { |