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: [testsuite, ada] Compile gnat.dg effective-target checks with gcc_target_compile


> I've finally gotten around to properly test my patch to make
> dg-require-effective-target work with the gnat.dg testsuite.  Unlike
> any other language, the gnat_target_compile function only works with Ada
> code, not invoking e.g. the C compiler for other input.

Indeed, because gnatmake doesn't know how to handle C files.

> 2010-11-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>
> 	* lib/gnat.exp: Load gcc.exp.
> 	(gnat_target_compile): Use gcc_target_compile for *.c sources.
> 	* gnat.dg/sse_nolib.adb: Use dg-require-effective-target sse_runtime.

OK, thanks.

-- 
Eric Botcazou


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