Commit 09204fa9 by Thomas Preud'homme Committed by Thomas Preud'homme

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
parent f85e1317
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
......
/* { 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" } */
......
......@@ -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 { } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment