[PATCH] Fix for PR 59524

Iyer, Balaji V balaji.v.iyer@intel.com
Wed Jan 8 21:16:00 GMT 2014

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

+2014-01-08  Balaji V. Iyer  <balaji.v.iyer@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?


Balaji V. Iyer.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140108/9fc11342/attachment.txt>

More information about the Gcc-patches mailing list