GCC IMA & general future proposal
Jeffrey A Law
law@redhat.com
Wed Oct 27 18:35:00 GMT 2004
On Wed, 2004-10-27 at 19:49 +0200, Jan Hubicka wrote:
> >
> > This may be a stupid suggestion and is probably not as general
> > as what EDG is doing but couldn't the template instantiations be
> > put into special sections and then let ld eliminate the duplicates
> > as it merges the object files into the executable?
>
> This is what GCC does currently, but it results in very many
> instantiations being compiled just to be thrown away that consumes time
> and disc space.
Right. And I get customers who complain about this on a pretty
consistent basis. This scheme slows down compilation time, link time
and eats a ton of disk space.
jeff
More information about the Gcc
mailing list