]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
revert: re PR testsuite/68629 (FAIL: c-c++-common/attr-simd-3.c)
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 17 Dec 2015 08:43:48 +0000 (08:43 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 17 Dec 2015 08:43:48 +0000 (08:43 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/attr-simd-3.c
gcc/testsuite/lib/target-supports.exp

index 697fd0667b85b9b636ac3ae958f3accb3a8ef970..5dba000b77a0faf85c835668db943549c6b93778 100644 (file)
@@ -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
index 1970c67174b9391294eb514b4666e60230bf1a67..d61ba82de3c73f94d25338f44cc88ebc8f660f01 100644 (file)
@@ -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" } */
 
index 3184775e94ef8e96f50c8c46621fe4e572cc9772..a0de31419de4e789132dd68461f9cd69a25b17f8 100644 (file)
@@ -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 { } {