This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix for PR 59524


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]