diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/i386-387-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/i386-387-5.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d20cc6e..da8136e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-07-29 Andrew Pinski <pinskia@physics.uc.edu> + + PR target/11565 + * gcc.dg/i386-387-1.c (dg-options): Add -march=i386. + * gcc.dg/i386-387-5.c (dg-options): Likewise. + Wed Jul 30 19:13:34 CEST 2003 Jan Hubicka <jh@suse.cz> * vtgc1.c: Kill. diff --git a/gcc/testsuite/gcc.dg/i386-387-1.c b/gcc/testsuite/gcc.dg/i386-387-1.c index 79d25e2..74a76b6 100644 --- a/gcc/testsuite/gcc.dg/i386-387-1.c +++ b/gcc/testsuite/gcc.dg/i386-387-1.c @@ -1,6 +1,6 @@ /* Verify that -mno-fancy-math-387 works. */ /* { dg-do compile { target "i?86-*-*" } } */ -/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387" } */ +/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */ /* { dg-final { scan-assembler "call\t_?sin" } } */ /* { dg-final { scan-assembler "call\t_?cos" } } */ /* { dg-final { scan-assembler "call\t_?sqrt" } } */ diff --git a/gcc/testsuite/gcc.dg/i386-387-5.c b/gcc/testsuite/gcc.dg/i386-387-5.c index 8ccc5c9..2c86dd0 100644 --- a/gcc/testsuite/gcc.dg/i386-387-5.c +++ b/gcc/testsuite/gcc.dg/i386-387-5.c @@ -1,6 +1,6 @@ /* Verify that -mno-fancy-math-387 works. */ /* { dg-do compile { target "i?86-*-*" } } */ -/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387" } */ +/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */ /* { dg-final { scan-assembler "call\t_?atan" } } */ double f1(double x) { return __builtin_atan(x); } |