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!news3.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!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:11:51 +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:14777 Date: 2010-10-26T07:11:51+02:00 List-Id: Le Mon, 25 Oct 2010 22:15:21 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: Three years ago, Niklas Holsti seems to to have raised the same question= : http://www.rhinocerus.net/forum/lang-ada/116262-gnat-fstack-check-does-w= ork.html He said : [In =E2=80=9CGNAT and -fstack-check, does it work?=E2=80=9D] I have been using those options for a while, but I was recently hit by a bug in which stack overflow made the program abort with Segmentation Violation (signal 11 =3D SIGSEGV) instead of the expected Storage_Error exception. Which is exactly what I get too. I get a signal, not an exception, = otherwise I wouldn't get a Windows crash-box. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.