This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Small testcase demonstrating template-free memory explosion problem.
- To: mmitchell at usa dot net
- Subject: Re: Small testcase demonstrating template-free memory explosion problem.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 13 Jan 1998 00:08:29 -0700
- cc: Corey Kosak <kosak at cs dot cmu dot edu>, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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