diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2003-07-30 22:48:45 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2003-07-30 15:48:45 -0700 |
commit | 675eab74a0916fee38fab56bfc7929743d4f35d8 (patch) | |
tree | 43bda46424c3398e5c1f29377365e9a9fc7696dd | |
parent | f0babc9a81334aff575218da3a7fa4c3f0bf33af (diff) | |
download | gcc-675eab74a0916fee38fab56bfc7929743d4f35d8.zip gcc-675eab74a0916fee38fab56bfc7929743d4f35d8.tar.gz gcc-675eab74a0916fee38fab56bfc7929743d4f35d8.tar.bz2 |
re PR target/11565 (gcc.dg/i386-387-1.c test flawed due to assumptions made about arch)
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.
From-SVN: r69974
-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); } |