From 57c8cf5d5b14a02a44e6c896c7677e38027f2937 Mon Sep 17 00:00:00 2001 From: Revital Eres <eres@il.ibm.com> Date: Thu, 17 Jan 2008 10:19:58 +0000 Subject: [PATCH] Fix pr30957-1.c testcase From-SVN: r131593 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr30957-1.c | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c86bb458da5a..e379da02b300 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-01-17 Revital Eres <eres@il.ibm.com> + + PR30957 + * gcc.dg/pr30957-1.c: Always xfail and add noinline attribute. + 2008-01-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/34429 diff --git a/gcc/testsuite/gcc.dg/pr30957-1.c b/gcc/testsuite/gcc.dg/pr30957-1.c index 5600ee9ee777..44cdf9db9b08 100644 --- a/gcc/testsuite/gcc.dg/pr30957-1.c +++ b/gcc/testsuite/gcc.dg/pr30957-1.c @@ -1,13 +1,17 @@ -/* { dg-do run { xfail vax-*-* powerpc-*-*spe } } */ +/* { dg-do run { xfail *-*-* } } */ /* We don't (and don't want to) perform this optimisation on soft-float - targets, where each addition is a library call. */ + targets, where each addition is a library call. This test requires + -fassociative-math for enabling the variable-expansion as well as + -fsigned-zeros for honoring the sign of zero; but + they can not co-exist; also under -funsafe-math-optimizations, so we + expect it to fail. */ /* { dg-require-effective-target hard_float } */ /* { dg-options "-O2 -funroll-loops -funsafe-math-optimizations -fvariable-expansion-in-unroller -dL" } */ extern void abort (void); extern void exit (int); -float +float __attribute__((noinline)) foo (float d, int n) { unsigned i; -- GitLab