From: Revital Eres Date: Thu, 17 Jan 2008 10:19:58 +0000 (+0000) Subject: Fix pr30957-1.c testcase X-Git-Tag: releases/gcc-4.3.0~575 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c8cf5d5b14a02a44e6c896c7677e38027f2937;p=thirdparty%2Fgcc.git Fix pr30957-1.c testcase From-SVN: r131593 --- 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 + + PR30957 + * gcc.dg/pr30957-1.c: Always xfail and add noinline attribute. + 2008-01-17 Paul Thomas 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;