This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is acceptable for -ffast-math? (Was: associative law in combine)
- To: dewar at gnat dot com
- Subject: Re: What is acceptable for -ffast-math? (Was: associative law in combine)
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Tue, 31 Jul 2001 00:39:40 +0200
- CC: gcc at gcc dot gnu dot org, moshier at moshier dot ne dot mediaone dot net, torvalds at transmeta dot com, tprince at computer dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20010730222922.5793DF2B69@nile.gnat.com>
dewar@gnat.com wrote:
> If you write
>
> A = B * C
>
> IF (A.EQ.B*C) ...
>
> it is a surprise for the IF to yield False, even though the standard permits
> it. Kahane in fact declares this to be a bug, and cannot be mollified by
> being told that the standard permits this "bug".
Yes, I know this - it was discussed thoroughly in 1999.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)