Small testcase demonstrating template-free memory explosion problem.

Jeffrey A Law law@cygnus.com
Mon Jan 12 23:06:00 GMT 1998


  In message < 199801122255.WAA12165@quickstep.stanford.edu >you write:
  > This could definitely be the problem.  However, I don't know anything
  > about OSF.  However, gcc also contains its own definition of alloca,
  > so I'm not sure. 
alloca could be the problem, but it's unlikely since gcc should have been
built with itself, which means it should be using its internal alloca
which does free memory as soon as the function goes out of scope.

Corey -- can you run gcc under the debugger to find out where it dies?
function name and some context (instead of line #s) ought to be enough
to get us started.

jeff



More information about the Gcc-bugs mailing list