comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: type is access cf type is access all?
Date: 24 Jan 1995 10:55:42 -0500
Date: 1995-01-24T10:55:42-05:00	[thread overview]
Message-ID: <3g37tu$6cd@felix.seas.gwu.edu> (raw)
In-Reply-To: 1995Jan20.114005.8916@vax.sbu.ac.uk

In article <1995Jan20.114005.8916@vax.sbu.ac.uk>,
 <fintan@vax.sbu.ac.uk> wrote:
>
>What is the difference between:
>
>   type FooPointers is access Foo;
>
>and
>
>   type FooPointers is access all Foo;

>My reading of this implies that omitting all will result
>in variables the access type only being able to designate 
>dynamically (new) allocated anonymous variables and not 
>non-pool (aliased) variables.

>A check of this idea on gnat 2.0 suggests that both types
>can designate dynamic and aliased variables.

>Anyone know the answer? 

Yeah, I bumped into this one too. It's a GNAT bug, simple as that.
GNAT is missing the check that would normally prohibit the first type
from desugnating aliuased variables.

The NYU folks know about it; no need to report it to them.

Mike Feldman



  parent reply	other threads:[~1995-01-24 15:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-20 11:40 type is access cf type is access all? fintan
1995-01-24 14:32 ` Robert Dewar
1995-01-24 15:55 ` Michael Feldman [this message]
1995-01-24 18:36 ` Tucker Taft
1995-01-25 21:27   ` Robert Dewar
replies disabled

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