Jeff Law <l...@redhat.com> writes: >> 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.
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