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
+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" } */
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 { } {