comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@NOclasswideSPAM.com>
Subject: Re: Releasing Aliased Variables
Date: Thu, 8 Mar 2001 08:37:29 -0600
Date: 2001-03-08T08:37:29-06:00	[thread overview]
Message-ID: <LOMp6.295$cZ1.274918@nnrp2.sbc.net> (raw)
In-Reply-To: 87bsrcs8a3.fsf@deneb.enyo.de

"Florian Weimer" <fw@deneb.enyo.de> wrote in message
news:87bsrcs8a3.fsf@deneb.enyo.de...
> Robert A Duff <bobduff@world.std.com> writes:
>
> > In code-generation terms, it causes X to allocated at an addressable
> > location (eg, not in a register).  It is unlikely that "aliased"
> > controls whether X is allocated on the stack versus the heap (but of
> > course compilers can do what they like).
>
> Some time ago, there was a thread in which someone explained (I think
> Robert Dewar) that 'aliased' does not provide any help to the compiler
> regarding alias detection, register allocation etc. because the
> compiler has to be able to determine this kind of information anyway
> if an Address attribute is used.

Did you mean "Access" instead of "Address"?

> So in code-generation terms, 'aliased' is a no-op.

Unless that part of the code generation is deferred to link time (which
happens for other things), I don't see how that can cover the case of
separately compiled code -- one containing the declaration and the other
containing the corresponding 'Access.





  reply	other threads:[~2001-03-08 14:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-07 19:57 Releasing Aliased Variables Byron Kauffman
2001-03-07 20:44 ` tmoran
2001-03-07 21:12 ` Robert A Duff
2001-03-08 13:24   ` Florian Weimer
2001-03-08 14:37     ` Pat Rogers [this message]
2001-12-27 12:26       ` Florian Weimer
2001-03-08 14:52     ` Tucker Taft
2001-03-08 16:57     ` Robert A Duff
2001-03-09 15:08       ` Using COM Interfaces (was: Releasing Aliased Variables) Byron Kauffman
2001-03-09 17:01         ` Robert A Duff
2001-03-09 21:08         ` tmoran
2001-03-12 18:45     ` Releasing Aliased Variables Richard Kenner
2001-03-07 21:31 ` Florian Weimer
replies disabled

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