Patch for memory explosion with templates/inlines
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Fri Dec 19 06:50:00 GMT 1997
On Thu, 18 Dec 1997, Mark Mitchell wrote:
> Attached below is a patch that reduces memory usage enormously for
> code making use of templates and inline functions.
Thanks a lot.
Indeed I can confirm that with this patch egcs-2.91.02 971216 on
sparc-sun-solaris2.5.1 is now able to process all my sources even
with optimization -O3.
(Strangely enough the resulting binary seems to twice as slow as
one generated by gcc 2.7.2, but I'll investigate that further...)
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list