Read-only data handling: a proposal
not-for-mail@cygnus.com
not-for-mail@cygnus.com
Mon Sep 15 10:31:00 GMT 1997
>>>>> Martin Mares <mj@atrey.karlin.mff.cuni.cz> writes:
> I was suggesting deferring it until the end of a function -- it's doesn't
> have the problems you've mentioned and it can produce better code on some
> architectures if you have a smart assembler which can convert absolute refs
> to PC-relative refs whenever possible.
I would want constants/statics in inline functions to be deferred until end
of file (when we decide whether or not to emit the function), by putting
them on the function's saveable obstack.
Jason
More information about the Gcc
mailing list