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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,da39df064d0b18d7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 11 Aug 2009 02:27:20 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna) References: <4a776a94$0$31878$9b4e6d93@newsspool3.arcor-online.net> <4a7f1fc5$0$31344$9b4e6d93@newsspool4.arcor-online.net> <9adb4985-582c-4cbf-906c-3afa7dcd31f6@g1g2000vbr.googlegroups.com> In-Reply-To: <9adb4985-582c-4cbf-906c-3afa7dcd31f6@g1g2000vbr.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a80bae9$0$31866$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 11 Aug 2009 02:27:21 CEST NNTP-Posting-Host: fab56d0e.newsspool3.arcor-online.net X-Trace: DXC=M`0j2;X]2cL2jYf>V4L0gLMcF=Q^Z^V3H4Fo<]lROoRA^YC2XCjHcbIfZBDGQ5@\3JKQDKiQ7hM X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7678 Date: 2009-08-11T02:27:21+02:00 List-Id: jonathan wrote: > The first thing I tried worked rather well: I replaced > > Stack_Size : constant Positive := 2000; > > with > > Stack_Size : constant Positive := 129; > > in GNAT_spitbol.patterns. Works here, too, thanks. Worth a few seconds off 40. While changing the library is not part of the game, this is useful in general, I'd think, since the comment next to Stack_Size invites us to adjust it to fit a program's needs. Another way of using modified copies of GNAT library units seems to be to use -a ; GNAT then considers the library unit in my source directory. (There is probably some risk when the options change from those used for compiling the library, though.)