Re: where is gone -fstack-usage?

2010-03-19 Thread Massimiliano Cialdi
Il giorno ven, 19/03/2010 alle 13.20 +0100, Eric Botcazou ha scritto: > > I use avr-gcc and arm-elf-gcc, both version 4.4.3. > > I tryed to invoke gcc with -fstack-usage: > > > > cc1: error: unrecognized command line option "-fstack-usage" > > > > why? > > Presumably because the option isn't imple

where is gone -fstack-usage?

2010-03-19 Thread Massimiliano Cialdi
surfing the web, searching some tool for statically analize the stack usage I found a pdf from 5 years ago, from the 2005 GCC Developers’ Summit: http://www.gccsummit.org/2005/2005-GCC-Summit-Proceedings.pdf In that document is described a GCC command line options: -fstack-usage (par 2.2.1, pag 96

feature request - Static Stack Usage Analysis for C/C++

2010-03-18 Thread Massimiliano Cialdi
It could be very very useful to add tatic Stack Usage Analysis for C/C ++. Something like -fstack-usage already done in gnat thanks