From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Mitchell To: egcs@cygnus.com Cc: Tudor Hulubei Subject: memory explosion with -O1 (was: egcs-1.0 Release) Date: Mon, 15 Dec 1997 09:10:00 -0000 Message-id: <199712150912.JAA06751@quickstep.stanford.edu> References: <199712081049.FAA00797@hal.ttlc.net> X-SW-Source: 1997-12/msg00840.html Gerald -- >>>>> "Gerald" == Gerald Pfeifer writes: Gerald> On Mon, 8 Dec 1997, Tudor Hulubei wrote: >> I just tried the new snapshot (971207) and it seems that the >> memory problem when using lots of templates is still present. >> cc1plus goes up to about 138Mb and then sometimes reports >> "memory exhausted", Gerald> I can confirm this report: Gerald> On sparc-sun-solaris2.5.1 with egcs-2.91.02 971206 I Gerald> experience exactly the same problem with "-O1 Gerald> -ftemplate-depth-20" only, no -Wall etc! Gerald> I have reported this problem, which doesn't occur with Gerald> either gcc 2.7.2 or egcs without optimizations, Gerald> before. (It's available as Gerald> http://www.cygnus.com/ml/egcs-bugs/1997-Nov/0142.html .) Gerald> If anyone would like to have a look at my sources, just Gerald> let me know! Please send me, and just me, not the list, the .ii file generated when you compile with -save-temps. I'll see if I can figure anything out about where the memory is going. I don't guarantee anything, but I'll see what I can do. Again, please be sure not to send the preprocessed source to this list, since you earlier message indicated that it was quite large. Thanks, -- Mark Mitchell mmitchell@usa.net Stanford University http://www.stanford.edu