From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: Unreferenced lock variables
Date: 1999/04/12
Date: 1999-04-12T17:21:01+00:00 [thread overview]
Message-ID: <7eta1t$pp0$2@wanadoo.fr> (raw)
In-Reply-To: 7esrmv$k1n$1@nnrp1.dejanews.com
Robert Dewar a �crit dans le message
<7esrmv$k1n$1@nnrp1.dejanews.com>...
>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. GNAT does not take
>advantage of this, but it means that to be compeltely
>portable, you need to put in a dummy reference to the
>variable.
Only for non-limited controlled types. If you don't use the variable,
make the type limited. It makes no difference, and the AI ensures that
Initialization/Finalization is NOT optimized away.
---------------------------------------------------------
J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://perso.wanadoo.fr/adalog
next prev parent reply other threads:[~1999-04-12 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 ` Simon Wright
1999-04-14 0:00 ` Robert Dewar
1999-04-12 0:00 ` Jean-Pierre Rosen [this message]
1999-04-12 0:00 ` Simon Wright
1999-04-13 0:00 ` Robert Dewar
1999-04-13 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
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