Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]

Andi Kleen ak@muc.de
Tue Apr 12 16:34:00 GMT 2005


Daniel Jacobowitz <drow@false.org> writes:

> On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote:
>> BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1
>> or so... I still lean on that crutch.
>
> A user!  Can you explain why?

The x86-64 2.4 linux kernel uses it too, because some code relies on 
the ordering between asm and several functions.
Other Linux ports might be similarly affected. 2.6 is fixed, but the
fix is a bit too big to merge into a stable-nearly-dead tree like 2.4.


-Andi



More information about the Gcc mailing list