On 01/08/14 14:16, Iyer, Balaji V wrote:
Hello Everyone,
Attached, please find a patch will fix the bug mentioned in PR 59524.
The main issue was that Cilk keywords tests are running even when the user
configured the compiler with --disable-libcilkrts. This patch should fix this
issue for C and C++. This is tested on x86 and x86_64.
Here are the ChangeLog entries
gcc/testsuite/ChangeLog
+2014-01-08 Balaji V. Iyer <balaji.v.i...@intel.com>
+
+ PR testsuite/59524
+ * gcc.dg/cilk-plus/cilk-plus.exp: Make sure the cilk keywords tests
+ are run only if the Cilk library is available/enabled.
+ * g++.dg/cilk-plus/cilk-plus.exp: Likewise.
+ * lib/target-supports.exp (check_libcilkrts_available): New function.
+
Is this Ok for trunk?
Yes.
jeff