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,cef1e23795181e0c X-Google-Attributes: gid103376,public From: Steve Quinlan Subject: Re: Alternate to Unchecked_Conversion - Portable? Date: 1999/02/21 Message-ID: <36D06C1B.14FE920C@lmco.com>#1/1 X-Deja-AN: 446815891 Content-Transfer-Encoding: 7bit References: <36d05e39.0@news.pacifier.com> Content-Type: text/plain; charset=us-ascii Organization: Lockheed-Martin Air Traffic Management Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-02-21T00:00:00+00:00 List-Id: At a minimum, you'd want to make first object aliased I'd think. I'm not sure whether without that, you'd be guaranteed that some optimization techniques wouldn't mess you up (register optimizations, etc.). Aliased at least lets the compiler know that the object might be accessed via some alternate path, so it will know not to do anything naughty to the object which might cause problems with access via an alias. Maybe one of the compiler internals experts will weigh in on this one.