fix execute/pure-1.c

Richard Henderson rth@redhat.com
Mon Jun 3 09:09:00 GMT 2002


On Mon, Jun 03, 2002 at 11:03:15AM -0400, Kaveh R. Ghazi wrote:
> I don't understand.  Why are they deferred, and why does this only
> affect us at -O3 + noinline attribute?

They are deferred _because_ they are static.  We're waiting to see
if they're used at all.

> But what about platforms that are always pic, like mips-irix6?  The
> testcase would fail there by default (and in fact it does.)

The mips port should distinguish between pic code generation and
pic name resolution.  The alpha and ia64 ports (also "always pic")
do this for exactly these reasons.

> I think we're better off if we make everything static again and remove
> the noinline attribute so it passes at all opt levels on all platforms.

As you like.


r~



More information about the Gcc-patches mailing list