From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tudor Hulubei To: egcs@cygnus.com Cc: "Jeffrey A. Law" , Jason Merrill , Fred Richardson Subject: Re: Patch for memory blowup Date: Thu, 11 Dec 1997 23:55:00 -0000 Message-id: <199712120900.EAA29971@hal.ttlc.net> References: <199712120113.RAA26139@supernova.earthlink.net> X-SW-Source: 1997-12/msg00704.html 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