Patch for memory blowup

Tudor Hulubei tudor@cs.unh.edu
Thu Dec 11 23:55:00 GMT 1997


Hi,

 > I believe I have a patch (attached) for the memory explosions that
 > occur when using g++ -O2 -Wall with lots of templates.  See for
 > example:

I applied the patch (by hand) to egcs-1.0 and indeed, it made a big
difference.  gcc previously required around 150-170Mb to compile it,
now we're down to 69Mb.  And the generated code works fine.  Thanks.

Tudor



More information about the Gcc mailing list