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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f941a4f4283a000c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!z13g2000yqg.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Interesting and possible buggy behavior in GNAT regarding Annex E pragmas. Date: Mon, 6 Jun 2011 16:43:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3fce7a87-c0a0-4417-b48d-3f0cd67db662@z13g2000yqg.googlegroups.com> References: <87r57m8ra1.fsf@ludovic-brenta.org> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1307403806 22058 127.0.0.1 (6 Jun 2011 23:43:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 6 Jun 2011 23:43:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z13g2000yqg.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19656 Date: 2011-06-06T16:43:26-07:00 List-Id: On May 25, 3:21=A0pm, Ludovic Brenta wrote: > Shark8 writes on comp.lang.ada: > > > Hi everyone. > > I was experimenting with partitioning-pragmas trying to decide on a > > good way to set up my PostScript interpreter so that the parser could > > be a remote object possibly servicing multiple clients and I came > > across a possible bug that is bothering me. In certain instances using > > one of the pragmas will cause the compiler to error-out, as is > > expected, but in other cases the compiler does not error out. > > > The only way I can see this happening is if, by WITH-ing these > > children units, the parent units are LIMITED WITH-ed; but that is > > counter-intuitive and does not allow for USES (which still compile) of > > the parent unit. > > > I have reduced things to the minimal compilable example and the source > > is as follows: > > I've been able to reproduce this with gnat-4.4 (=3D4.4.6-1) on Debian > unstable. =A0This looks like a genuine bug to me; please report it onhttp= ://gcc.gnu.org/bugzilla/. =A0What version of GNAT are you using? > > -- > Ludovic Brenta. I'm using 4.4