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] |
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 we do now.
However, it doesn't save the work of doing the instantiation, only the space it costs in the final executable.
They seem to be talking about saving the work of doing duplicate instantiation in the first place.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |