On the page http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/html/gnat_ugn_24.html the GNAT documentation makes mention of an “-fstack-usage” option which intent is to provide static stack analysis. But this options seems not to be there any more, at least with the GNAT front-end which comes with GCC 4.5.0. Some talks on miscellaneous forums and Usenet thread, also suggest this is also no more available for GCC too (although the incriminated document is a GNAT document). May be this reference to the “-fstack-usage” option should be removed from documentations in order to not confuse users.
fstack-usage was added on the trunk (for 4.6.0).
> On the page > http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/html/gnat_ugn_24.html > the GNAT documentation makes mention of an “-fstack-usage” option which intent > is to provide static stack analysis. But this options seems not to be there any > more, at least with the GNAT front-end which comes with GCC 4.5.0. Please do not report issues related to GNAT Pro here. GNAT Pro is a separate product released by AdaCore whereas this is bugzilla for the FSF GNAT compiler.