From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,233c88e0e480e0b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!postnews.google.com!d8g2000yqf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT/GCC and -fstack-check Date: Wed, 27 Oct 2010 00:35:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <14dbe880-9a2b-4af4-8898-84a583b36bb7@d8g2000yqf.googlegroups.com> References: <87k4l4rf4w.fsf@ludovic-brenta.org> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1288164989 31942 127.0.0.1 (27 Oct 2010 07:36:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 Oct 2010 07:36:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d8g2000yqf.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14818 Date: 2010-10-27T00:35:46-07:00 List-Id: Yannick Duch=EAne wrote on comp.lang.ada: > Ludovic Brenta a =E9crit: >> By the way, the GNAT documentation about stack analysis and handling >>> seems a bit outdated. It talks about an =93-fstack-usage=94 option, whi= ch >>> does not =A0seems to be recognized (gnatmake complains =93invalid switc= h: >>> -fstack-usage=94). Some web-talks about this option strictly concerning >>> GCC =A0says 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=3D46189 > (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.