* where is gone -fstack-usage? @ 2010-03-19 12:10 Massimiliano Cialdi 2010-03-19 12:23 ` Eric Botcazou 0 siblings, 1 reply; 4+ messages in thread From: Massimiliano Cialdi @ 2010-03-19 12:10 UTC (permalink / raw) To: gcc 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). There is also an example with a slice of C code and the .su output so wonderful, so usefull... 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? where is that option? bye ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: where is gone -fstack-usage? 2010-03-19 12:10 where is gone -fstack-usage? Massimiliano Cialdi @ 2010-03-19 12:23 ` Eric Botcazou 2010-03-19 12:33 ` Massimiliano Cialdi 0 siblings, 1 reply; 4+ messages in thread From: Eric Botcazou @ 2010-03-19 12:23 UTC (permalink / raw) To: Massimiliano Cialdi; +Cc: gcc > 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 implemented in this compiler. > where is that option? An old version is at http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01008.html -- Eric Botcazou ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: where is gone -fstack-usage? 2010-03-19 12:23 ` Eric Botcazou @ 2010-03-19 12:33 ` Massimiliano Cialdi 2010-03-19 12:58 ` Eric Botcazou 0 siblings, 1 reply; 4+ messages in thread From: Massimiliano Cialdi @ 2010-03-19 12:33 UTC (permalink / raw) To: Eric Botcazou; +Cc: gcc 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 implemented in this compiler. And why this option has been removed? In some cases it is dramatically usefull... > > where is that option? > > An old version is at http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01008.html no hope to have that option again in upcoming versions of gcc? thanks ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: where is gone -fstack-usage? 2010-03-19 12:33 ` Massimiliano Cialdi @ 2010-03-19 12:58 ` Eric Botcazou 0 siblings, 0 replies; 4+ messages in thread From: Eric Botcazou @ 2010-03-19 12:58 UTC (permalink / raw) To: Massimiliano Cialdi; +Cc: gcc > And why this option has been removed? It hasn't, it never got merged in the FSF tree. > no hope to have that option again in upcoming versions of gcc? Some hope to have it merged at some point, but no promises as usual. -- Eric Botcazou ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-19 12:35 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-03-19 12:10 where is gone -fstack-usage? Massimiliano Cialdi 2010-03-19 12:23 ` Eric Botcazou 2010-03-19 12:33 ` Massimiliano Cialdi 2010-03-19 12:58 ` Eric Botcazou
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).