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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9b7d3a51d0d8b6ee X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!u14g2000yqg.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Compiler quality Date: Thu, 27 Nov 2008 06:46:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <8fbe700c-9b80-46b5-8ebe-8d3ef8fe41ea@u14g2000yqg.googlegroups.com> References: <20081115101632.5f98c596@cube.tz.axivion.com> <20081122011825.5354d1c1@cube.tz.axivion.com> <9cb27caa-8e9f-4123-ad36-4980c3032722@20g2000yqt.googlegroups.com> <492e7554$0$30237$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1227797176 3163 127.0.0.1 (27 Nov 2008 14:46:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 27 Nov 2008 14:46:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u14g2000yqg.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20070718 Red Hat/1.5.0.12-3.el5 Firefox/1.5.0.12,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:3795 Date: 2008-11-27T06:46:16-08:00 List-Id: anon schrieb: > An example is like using the following statement > X := Sin ( A ) + Cos ( W ) ; > do use need to also create the statement > X := Cos ( W ) + Sin ( A ) ; Yes, as evidenced by http://gcc.gnu.org/PR16095 among others. Schematically, this bug is triggered by "A = B" but not by "B = A". And incidentally, it is present in the "bug-free" GNAT 3.15p. -- Ludovic Brenta.