This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Implement -fstack-usage
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ebotcazou at adacore dot com (Eric Botcazou)
- Cc: richard dot guenther at gmail dot com (Richard Guenther), gcc-patches at gcc dot gnu dot org, comar at adacore dot com (Cyrille Comar)
- Date: Mon, 19 Jun 2006 17:53:23 -0400 (EDT)
- Subject: Re: [PATCH] Implement -fstack-usage
>
> > Argh. Now that I shrinked struct function, you are adding to it again...
>
> Not sure "struct function" is the most profitable target for memory-related
> work in the 4.x compilers. I'd think more of the Tree-SSA engine, we're
> experiencing huge allocations in 4.x because of it...
For some languages like C++, it is one of the most profitable
target for memory related work as there are lots of small functions.
And now also function stays around during the whole build instead
of just being dead after the function was done parsing and out putting.
-- Pinski