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
This commit is contained in:
Andrew Pinski 2003-07-30 22:48:45 +00:00 committed by Andrew Pinski
parent f0babc9a81
commit 675eab74a0
3 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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" } } */

View File

@ -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); }