[Patch] avr: accept -fstack-usage

Tristan Gingold gingold@adacore.com
Tue Sep 28 14:27:00 GMT 2010


On Sep 28, 2010, at 1:38 AM, Gerald Pfeifer wrote:

> On Tue, 28 Sep 2010, Eric Botcazou wrote:
>>> this patch implements -fstack-usage for AVR, which is very easy as the 
>>> stack usage was already computed.
>> Thanks!  You should also update testsuite/gcc.dg/stack-usage-1.c if needed.
> 
> And http://gcc.gnu.org/gcc-4.6/changes.html :-)

Can you clarify what do you want to be added to this file ?  The only mention of -fstack-usage doesn't include a list of targets
that support this option:

A new switch -fstack-usage has been added. It makes the compiler output stack usage information for the program, on a per-function basis, in an auxiliary file.

Tristan.



More information about the Gcc-patches mailing list