This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite] Fix PR37334 - gcc.dg/fastmath-2.c doesn't work on ia32
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Victor Kaplansky <VICTORK at il dot ibm dot com>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 04 Sep 2008 09:50:38 -0700
- Subject: Re: [patch, testsuite] Fix PR37334 - gcc.dg/fastmath-2.c doesn't work on ia32
- References: <OF666A906D.31D2E4B0-ONC22574BA.00415CCB-C22574BA.00431528@il.ibm.com>
- Reply-to: janis187 at us dot ibm dot com
On Thu, 2008-09-04 at 15:12 +0300, Victor Kaplansky wrote:
> >
> > famous bug 323.
> >
> > Richard.
>
> Since it was not my intention to hit 323 bug, I've added "volatile"
> to the definition of "b" to work-arround it. Additionally -ffast-math
> replaced by -ffinite-math-only and name of the test changed as well.
>
> OK for mainline?
OK if you've checked that it passes on ia32. I'm not comfortable
with a test that does an exact comparison of floating-point values,
so if it fails elsewhere please move it under gcc.target.
Janis