http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297

--- Comment #7 from Aldy Hernandez <aldyh at redhat dot com> 2012-02-22 
20:20:34 UTC ---
On 02/22/12 14:08, jakub at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297
>
> --- Comment #6 from Jakub Jelinek<jakub at gcc dot gnu.org>  2012-02-22 
> 20:08:46 UTC ---
> (In reply to comment #5)
>> (In reply to comment #4)
>>> That's (essentially) independent of the target, as it's a pure testsuite 
>>> issue.
>>> Tests that require linking with -litm should go in libitm/testsuite instead.
>>
>> It shouldn't be linking with -litm.  All the required dummy functions should 
>> be
>> in gcc.dg/lto/trans-mem.h.
>
> But -fgnu-tm during linking now results in libitm.spec being sourced in, so it
> needs either a hack version thereof somewhere where it can find it through -B
> options, or some other approach.
>

This looks like a regression brought about by:

+2012-02-13  Eric Botcazou  <ebotca...@adacore.com>
+
+       * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
+       (GTM_SELF_SPECS): Define if not already defined.
+       (driver_self_specs): Add GTM_SELF_SPECS.
+        * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
+        (GTM_SELF_SPECS): Define.
+       * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
+       * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.

Reply via email to