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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ab4f67f984ef04f9 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!fu-berlin.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Is the Ada run-time required to detect out-of-memory conditions? Date: Fri, 21 May 2004 00:54:12 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <878yfmiuak.fsf@insalien.org> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1085100852 18490 134.91.1.34 (21 May 2004 00:54:12 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 21 May 2004 00:54:12 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: controlnews3.google.com comp.lang.ada:720 Date: 2004-05-21T00:54:12+00:00 List-Id: Stephen Leake wrote: : As the GNAT manual says, to get Storage_Error here, you have to : compile with -fstack-check. This is an expensive check, so it is off : by default. georg@sonnenregen:/tmp$ gnatmake -g -fstack-check -s memory.adb gcc -c -g -fstack-check memory.adb gnatbind -x memory.ali gnatlink -g memory.ali georg@sonnenregen:/tmp$ ./memory Killed (Is the stack involved at all?)