re PR testsuite/37334 (gcc.dg/fastmath-2.c doesn't work)

2008-09-07  Victor Kaplansky  <victork@il.ibm.com>

        PR testsuite/37334
        * gcc/testsuite/gcc.dg/fastmath-2.c: Add volatile to
        definition of b, change -ffast-math to -ffinite-math-only
        and rename test to ...
        * gcc/testsuite/gcc.dg/div-double-1.c: ... this.

From-SVN: r140082
This commit is contained in:
Victor Kaplansky 2008-09-07 07:34:30 +00:00 committed by Victor Kaplansky
parent 5f195f0c72
commit c0cf64a287
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2008-09-07 Victor Kaplansky <victork@il.ibm.com>
PR testsuite/37334
* gcc/testsuite/gcc.dg/fastmath-2.c: Add volatile to
definition of b, change -ffast-math to -ffinite-math-only
and rename test to ...
* gcc/testsuite/gcc.dg/div-double-1.c: ... this.
2008-09-06 Jeff Law <law@redhat.com>
* gcc.c-torture/execute/memcpy-bi.c: Include <string.h>

View file

@ -1,10 +1,10 @@
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math" } */
/* { dg-options "-O2 -ffinite-math-only" } */
extern void abort (void);
volatile double a = 2.002083e-146;
double b;
volatile double b;
int
main()
@ -15,4 +15,3 @@ main()
abort ();
return 0;
}