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,da39df064d0b18d7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 04 Aug 2009 16:15:18 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.22 (Macintosh/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> <4a776b25$0$31878$9b4e6d93@newsspool3.arcor-online.net> <47559b1f-cb97-455b-b76d-98a4f8a834ac@f37g2000yqn.googlegroups.com> <4a77fcc3$0$30229$9b4e6d93@newsspool1.arcor-online.net> <7d604363-8623-4146-8aa5-9a7ec729023b@j21g2000yqe.googlegroups.com> <4a781100$0$30236$9b4e6d93@newsspool1.arcor-online.net> <2b246c40-ef58-4845-8940-5c9ec176a292@24g2000yqm.googlegroups.com> In-Reply-To: <2b246c40-ef58-4845-8940-5c9ec176a292@24g2000yqm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a784276$0$30239$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 04 Aug 2009 16:15:18 CEST NNTP-Posting-Host: af8c1138.newsspool1.arcor-online.net X-Trace: DXC=YA9mP7Ua5GU\PS5Xo=M[RVic==]BZ:af^4Fo<]lROoRQ^YC2XCjHcbYa`IOhOFCJYS;9OJDO8_SKVNSZ1n^B98iZXB Vadim Godunko schrieb: >> How much does a default initialized Unbounded_String >> use when it is an array component? > Its very easy to discover: > > with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; > package Tst is > type T is array (Positive range <>) of Unbounded_String; > X : T (1 .. 625_000); > end Tst; > >> gcc -c -gnatR3 tst.ads Darn, yes, -gnatR! Had forgotten, thanks. > Representation information for unit Tst (spec) > ----------------------------------------------