Commit 675eab74 by Andrew Pinski Committed by Andrew Pinski

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
parent f0babc9a
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.
......
/* 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" } } */
......
/* 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); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment