Commit 57c8cf5d by Revital Eres Committed by Revital Eres

Fix pr30957-1.c testcase

From-SVN: r131593
parent 1c8bcdf7
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> 2008-01-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34429 PR fortran/34429
/* { 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 /* 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-require-effective-target hard_float } */
/* { dg-options "-O2 -funroll-loops -funsafe-math-optimizations -fvariable-expansion-in-unroller -dL" } */ /* { dg-options "-O2 -funroll-loops -funsafe-math-optimizations -fvariable-expansion-in-unroller -dL" } */
extern void abort (void); extern void abort (void);
extern void exit (int); extern void exit (int);
float float __attribute__((noinline))
foo (float d, int n) foo (float d, int n)
{ {
unsigned i; unsigned i;
......
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