This is the mail archive of the gcc@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: GCC-3.4 reorders asm() with -O2


On Sun, Jan 25, 2004 at 12:03:51PM -0500, Daniel Jacobowitz wrote:

> It is.  Ralf already knows about the problem, I think - we leave
> markers outside of functions which define an entry point, save some
> additional registers to the stack, and try to fall through to the
> following function.  If the function gets emitted elsewhere, obviously,
> we've lost :)
> 
> [This is save_static_function...]

I only recently fixed the problem with the save_static() inline function
which of course was fragile, speculating on the compiler doing the
right thing ...  I'll cook up a fix ...

  Ralf


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