[PATCH] Fix for PR 59524

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Jan 9 06:52:00 GMT 2014


Jeff Law <law@redhat.com> writes:

>> gcc/testsuite/ChangeLog
>> +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?
> Yes.

Better implement this as an effective-target keyword (cilkplus_runtime
to abstract from the library name?) so it's easily usable in individual
testcases if necessary, and document that in gcc/doc/sourcebuild.texi.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list