comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam@spam.com>
Subject: Re: Renaming versus initialisation
Date: Wed, 28 Sep 2005 18:53:43 GMT
Date: 2005-09-28T18:53:43+00:00	[thread overview]
Message-ID: <XEB_e.4778$oc.3180@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <1pcj2c5hcop7$.1m6hudk4iekuz$.dlg@40tude.net>

Dmitry A. Kazakov wrote:

> A compiler has right to optimize out the local object. I believe, it also
> can optimize out initialization/finalization pair of the target in
> declaration with initialization, so in the end it could be same, though it
> isn't in GNAT.

I think this analysis is correct. This is compiler dependent. The only 
language-required difference is that renames creates a constant and 
initialization can create a variable.

-- 
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail
18



      reply	other threads:[~2005-09-28 18:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 21:10 Renaming versus initialisation Tapio Kelloniemi
2005-09-28  0:00 ` Robert A Duff
2005-09-28  8:02   ` Dmitry A. Kazakov
2005-09-28 15:12     ` Tapio Kelloniemi
2005-09-28 16:37       ` Dmitry A. Kazakov
2005-09-28 18:53         ` Jeffrey R. Carter [this message]
replies disabled

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