comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: GNAT/GCC and -fstack-check
Date: Wed, 27 Oct 2010 00:35:46 -0700 (PDT)
Date: 2010-10-27T00:35:46-07:00	[thread overview]
Message-ID: <14dbe880-9a2b-4af4-8898-84a583b36bb7@d8g2000yqf.googlegroups.com> (raw)
In-Reply-To: op.vk65io2mule2fv@garhos

Yannick Duchêne wrote on comp.lang.ada:
> Ludovic Brenta a écrit:
>> By the way, the GNAT documentation about stack analysis and handling
>>> seems a bit outdated. It talks about an “-fstack-usage” option, which
>>> does not  seems to be recognized (gnatmake complains “invalid switch:
>>> -fstack-usage”). Some web-talks about this option strictly concerning
>>> GCC  says it is not neither supported by GCC anymore.
>
>> I suggest you report this as a documentation bug.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46189
> (with CC to you)

[The bug was rejected as the option -fstack-usage is actually new in
GNAT Pro and GCC 4.6, not old]

I apologize for making this recommendation so quickly.  I didn't
realize you were comparing apples (the latest GNAT Pro documentation
from the latest nightly build at AdaCore's web site) and oranges (the
latest stable release of GCC).  Today's GNAT Pro is roughly equivalent
to the trunk of GCC (the future GCC 4.6), but since Stage 1 ends
today, GNAT Pro is going to start moving ahead from GCC again.

The documentation for GCC is here:
http://gcc.gnu.org/onlinedocs/

This includes stable releases (the latest is 4.5.1) and, at the bottom
of the page, nightly builds (the future 4.6.0).  I see the latter
includes information on -fstack-usage.

--
Ludovic Brenta.



  reply	other threads:[~2010-10-27  7:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 20:15 GNAT/GCC and -fstack-check Yannick Duchêne (Hibou57)
2010-10-26  5:11 ` Yannick Duchêne (Hibou57)
2010-10-26  5:23   ` Yannick Duchêne (Hibou57)
2010-10-26  8:04     ` Ludovic Brenta
2010-10-26  8:16       ` Yannick Duchêne (Hibou57)
2010-10-26 15:11         ` Ludovic Brenta
2010-10-26 16:33           ` Georg Bauhaus
2010-10-26 15:38 ` Yannick Duchêne (Hibou57)
2010-10-26 15:38   ` Yannick Duchêne (Hibou57)
2010-10-26 18:19   ` Ludovic Brenta
2010-10-26 18:55     ` Yannick Duchêne (Hibou57)
2010-10-27  7:35       ` Ludovic Brenta [this message]
2010-10-27 14:58         ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox