comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Interesting and possible buggy behavior in GNAT regarding Annex E pragmas.
Date: Wed, 25 May 2011 22:21:58 +0200
Date: 2011-05-25T22:21:58+02:00	[thread overview]
Message-ID: <87r57m8ra1.fsf@ludovic-brenta.org> (raw)
In-Reply-To: c188806d-3a53-4b6b-a364-0e23ef083981@14g2000yqo.googlegroups.com

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 (=4.4.6-1) on Debian
unstable.  This looks like a genuine bug to me; please report it on
http://gcc.gnu.org/bugzilla/.  What version of GNAT are you using?

-- 
Ludovic Brenta.



  reply	other threads:[~2011-05-25 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 14:54 Interesting and possible buggy behavior in GNAT regarding Annex E pragmas Shark8
2011-05-25 20:21 ` Ludovic Brenta [this message]
2011-05-26  6:40   ` Michael R
2011-05-27 11:40     ` Stephen Leake
2011-06-06 23:43   ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox