This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inlining vs the stack
- From: Mike Stump <mrs at apple dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>, Jan Hubicka <jh at suse dot cz>
- Date: Fri, 12 Aug 2005 12:10:19 -0700
- Subject: Re: Inlining vs the stack
- References: <ba8580523fd097c9e6354b66a8ad6476@apple.com>
On Aug 12, 2005, at 10:39 AM, Dale Johannesen wrote:
We had a situation come up here where things are like this
(simplified, obviously):
c() { char x[1000000]; }
I think we should turn off inlining for functions > 100k stack size.
(Or maybe 500k, if you want).