Question about the order global declarations are output

Mike Lerwill mlist@ml-solutions.co.uk
Mon May 10 21:16:00 GMT 2004


Global objects are output into the assembly in reverse order compared to
where they appear in the source file. Can someone explain why this is done.

If my understanding is correct it happens in write_global_declarations where
this reversal appears to be quite deliberate.


Mike




More information about the Gcc mailing list