From 675eab74a0916fee38fab56bfc7929743d4f35d8 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 30 Jul 2003 22:48:45 +0000 Subject: [PATCH] re PR target/11565 (gcc.dg/i386-387-1.c test flawed due to assumptions made about arch) 2003-07-29 Andrew Pinski 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/i386-387-1.c | 2 +- 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 d20cc6e4b2b..da8136eeace 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-07-29 Andrew Pinski + + 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 * vtgc1.c: Kill. diff --git a/gcc/testsuite/gcc.dg/i386-387-1.c b/gcc/testsuite/gcc.dg/i386-387-1.c index 79d25e2432e..74a76b63807 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 8ccc5c96701..2c86dd0869a 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); }