From: tmoran@bix.com (Tom Moran)
Subject: Re: Unreferenced lock variables
Date: 1999/04/20
Date: 1999-04-20T00:00:00+00:00 [thread overview]
Message-ID: <3718268c.48395643@news.pacbell.net> (raw)
In-Reply-To: 3713b417.22324981@news.pacbell.net
>>With regard to initialization and finalization, the ARG
>>just agreed (unwisely if you ask me!) to allow a compiler
>>to optimize away initialization and finalization for an
>>otherwise unreferenced variable.
>It seems such a bad idea - what arguments led them to this decision?
Randy Brukardt was kind enough to educate me on some of the points
here, including
procedure Something(P : in integer) is
Unused : integer := P/0;
begin ...
which can legally have Unused eliminated and thus the divide by zero
eliminated. That certainly provides an analogous precedent for
eliminating the controlled Initialize/Finalize. So with 'limited'
still available when you really gotta have Initialize/Finalize, I
guess it's not so unreasonable to eliminate the controlled object (in
the non-limited) case after all.
next prev parent reply other threads:[~1999-04-20 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-11 0:00 Unreferenced lock variables Simon Wright
1999-04-11 0:00 ` Tom Moran
1999-04-12 0:00 ` Robert Dewar
1999-04-12 0:00 ` Simon Wright
1999-04-12 0:00 ` Robert Dewar
1999-04-12 0:00 ` Jean-Pierre Rosen
1999-04-12 0:00 ` Simon Wright
1999-04-13 0:00 ` Robert Dewar
1999-04-13 0:00 ` Robert Dewar
1999-04-12 0:00 ` Simon Wright
1999-04-14 0:00 ` Robert Dewar
1999-04-13 0:00 ` Tom Moran
1999-04-15 0:00 ` Robert Dewar
1999-04-15 0:00 ` Tom Moran
1999-04-16 0:00 ` Robert Dewar
1999-04-16 0:00 ` Tom Moran
1999-04-16 0:00 ` Tucker Taft
1999-04-16 0:00 ` Tom Moran
1999-04-19 0:00 ` Tucker Taft
1999-04-16 0:00 ` Tom Moran
1999-04-20 0:00 ` Tom Moran [this message]
1999-04-20 0:00 ` Robert Dewar
1999-04-20 0:00 ` Tom Moran
1999-04-21 0:00 ` 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