template instantiation problems !? [was: egcs-g++-97112: virtual memory exhausted]

Jason Merrill jason@cygnus.com
Wed Nov 26 11:27:00 GMT 1997


>>>>> Max Lawson <mlawson@drfmc.ceng.cea.fr> writes:

>  	I've seen on the egcs-bugs list that someone else has 
> reported a similar misbehaviour of cc1plus (November_1997::
> "Memory leak with -O -Wall" by P.Schmid) on a i386-glibc1. 

> In an earlier version of egcs, memory was not released during 
> during the instatiation of templates and someone provided 
> a patch against. This bug back may be in the current release !?

-pedantic -and -Wreturn-type cause the bug to resurface.  They should be
avoided for large code until this can be fixed.

Jason



More information about the Gcc mailing list