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: 103376,6b3ebf057333800c X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Largest size array in Gnat 2005 for the PC? From: Georg Bauhaus In-Reply-To: References: <1193775437.086373.171690@e9g2000prf.googlegroups.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1193787544.3259.58.camel@kartoffel> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Date: Wed, 31 Oct 2007 00:39:05 +0100 Organization: Arcor NNTP-Posting-Date: 31 Oct 2007 00:38:29 CET NNTP-Posting-Host: 196c2541.newsspool2.arcor-online.net X-Trace: DXC=RULlI_ZE\>H=8m7nZkdN^@A9EHlD;3YcB4Fo<]lROoRA4nDHegD_]REL15OPR;mUaDN[W On Tue, 2007-10-30 at 17:53 -0500, tmoran@acm.org wrote: > > too big to fit into a 32-bit register, so apparently the compiler is > > truncating to 0 before setting EAX. > Do you get the same result when you compile in Ada mode, ie, with > the -gnato option? Yes, same results. Using -fstack-check adds a warning that the frame size is too large, the debugging switch -gnatdF yields a compilation error saying that the subtype of a is too large... (Which it is, obviously).