Commit 65a00f0e by Thomas Preud'homme Committed by Thomas Preud'homme

re PR testsuite/68629 (FAIL: c-c++-common/attr-simd-3.c)

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: r231605
parent 8edccfc6
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-13 David Edelsohn <dje.gcc@gmail.com>
* gcc.dg/graphite/pr42729.c: XFAIL AIX.
......
/* { 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,7 +1432,12 @@ proc check_effective_target_cilkplus { } {
if { [istarget avr-*-*] } {
return 0;
}
return 1
return [ check_no_compiler_messages_nocache fcilkplus_available executable {
#ifdef __cplusplus
extern "C"
#endif
int dummy;
} "-fcilkplus" ]
}
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