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,10444cff97404845 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: C like op= proposal Date: 1999/08/17 Message-ID: <37B9B4CC.714C6D65@Maths.UniNe.CH>#1/1 X-Deja-AN: 513902330 Content-Transfer-Encoding: 7bit References: <37B7D172.DCE02FFA@Maths.UniNe.CH> <87emh2l218.fsf@antinea.enst.fr> To: Samuel Tardieu Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-08-17T00:00:00+00:00 List-Id: > Where did you get the impression that the optimizer would miss this? Good question! I've modified the example with floating-point values and accessed records (nearer to the "real" example) : impossible to fool that diabolical GNAT optimizer. I'll try to refind my test sources. Another nice thing that GNAT does is to re-use the address computation for 2 arrays in 2 different instructions (not too near)! -- Gautier