From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7f1e0b399cd01cb0 X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: Unreferenced lock variables Date: 1999/04/16 Message-ID: <3717b010.18059463@news.pacbell.net>#1/1 X-Deja-AN: 467294343 References: <7ero31$n46$1@nnrp1.dejanews.com> <7esrmv$k1n$1@nnrp1.dejanews.com> <3713b417.22324981@news.pacbell.net> <7f57g5$rpq$1@nnrp1.dejanews.com> <371658a7.19974365@news.pacbell.net> <7f6ei7$tvl$1@nnrp1.dejanews.com> <3717869e.7448255@news.pacbell.net> <37179A21.82A1AF7@averstar.com> X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.pbi.net 924299513 206.170.24.51 (Fri, 16 Apr 1999 14:51:53 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Fri, 16 Apr 1999 14:51:53 PDT Newsgroups: comp.lang.ada Date: 1999-04-16T00:00:00+00:00 List-Id: >permission >to remove an Initialize/Finalize pair only if there is an assignment Ah, so the complete removal of the (seemingly) unused control type declaration is a consequence of being able to optimize the case where it is in fact used (later)? > Initialize(X); > ... > Finalize(X) > What happens if the Initialize or Finalize of X, (which will be optimized away) modifies Y? Or is that illegal?