Patch for memory explosion with templates/inlines
Mark Mitchell
mmitchell@usa.net
Mon Jan 12 11:49:00 GMT 1998
>>>>> "Corey" == Corey Kosak <kosak@cs.cmu.edu> writes:
Corey> Even after Mark Mitchell's 12/18 patch, there still appears
Corey> to be a memory explosion problem when using -O2 (note! even
Corey> without -Wreturn-type), which disappears when the inline
Corey> declarations are #defined away.
Corey> Unfortunately, I haven't been able to isolate a simple test
Corey> case; the file causing the above errors is at:
Corey> http://www.cs.cmu.edu/~kosak/stuff/explosion.cc
Similarly, I don't get any explosion on this test case either. I do
get some warnings about integer constants out-of-range; I assume that
is because you are on a 64-bit machine, and I'm not.
--
Mark Mitchell mmitchell@usa.net
Stanford University http://www.stanford.edu
More information about the Gcc-bugs
mailing list