This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for memory explosion with templates/inlines
- To: egcs-bugs at cygnus dot com
- Subject: Re: Patch for memory explosion with templates/inlines
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Fri, 19 Dec 1997 15:49:42 +0100 (MET)
- cc: Mark Mitchell <mmitchell at usa dot net>
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/