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,FREEMAIL_FROM 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,UTF8 Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT/GCC and -fstack-check Date: Tue, 26 Oct 2010 07:23:57 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: nP+UXi/C9pM1VY9GjD9Eew.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:14778 Date: 2010-10-26T07:23:57+02:00 List-Id: Le Tue, 26 Oct 2010 07:11:51 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: Seven years ago, there was bug report for the same : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D10127 (not the same Niklas was talking about, this one is even older). It was marked as solved=E2=80=A6 I feel it was either not really or else= it is = back. By the way, I am surprised the Ada environment does not catch this= = signal to turn it into an exception. I would understand if this was a = compiler bug, but what I now see as a compiler bug, is that the program = = does not catch the signal and let the program crash. I will either investigate more to understand what is going wrong with th= e = stack with that package, or else will simply drop the use of -fstack-che= ck = (as I am not sure this make the program crash because there is indeed a = = real stack overflow somewhere). Any opinions and thoughts on that topic appreciated -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.