[Top] [All Lists]

Re: [Patch] make 2.4 compile with GCC-3.4.3...

To: David Daney <>
Subject: Re: [Patch] make 2.4 compile with GCC-3.4.3...
From: Thiemo Seufer <>
Date: Fri, 3 Dec 2004 07:40:17 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.6i
David Daney wrote:
> -fno-unit-at-a-time prevents GCC from rearranging things in its output thus 
> preventing
> the save_static_function() from being separated from its companion.  As far 
> as I could tell
> only syscall.c and signal.c need this.

Ah, I missed that. It's probably better to use the same way as in 2.6,
that is, to add a jump at the end of save_static_function().

> noinline was not defined for me :( so I removed it.  It seems that in 2.6 it 
> is
> just #defined to be nothing.  The alternative is to add:
> #ifndef noinline
> #define noinline
> #endif
> to compiler.h as is done in 2.6

Yes, that's the better idea. gcc-4.0 ff may need it.


<Prev in Thread] Current Thread [Next in Thread>