diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-02-28 21:53:07 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-02-28 21:53:07 +0000 |
commit | cfac137674c84791371f8bf56d672891c02bcecf (patch) | |
tree | e3108f33e3c477ef715db23c633007dd92f2dd9c | |
parent | 94a0dd7b599e1d83b81f007258af2b16e7cbc4c5 (diff) | |
download | gcc-cfac137674c84791371f8bf56d672891c02bcecf.zip gcc-cfac137674c84791371f8bf56d672891c02bcecf.tar.gz gcc-cfac137674c84791371f8bf56d672891c02bcecf.tar.bz2 |
builtin-frexp-1.c: On mips*-*-irix6* and powerpc*, use -funsafe-math-optimizations.
* gcc.dg/torture/builtin-frexp-1.c: On mips*-*-irix6* and
powerpc*, use -funsafe-math-optimizations.
* gcc.dg/torture/builtin-logb-1.c: Likewise.
* gcc.dg/torture/builtin-modf-1.c: Likewise.
From-SVN: r122413
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/builtin-logb-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/builtin-modf-1.c | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d5d09bb..921cf14 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2007-02-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-frexp-1.c: On mips*-*-irix6* and + powerpc*, use -funsafe-math-optimizations. + * gcc.dg/torture/builtin-logb-1.c: Likewise. + * gcc.dg/torture/builtin-modf-1.c: Likewise. + 2007-02-28 Tobias Burnus <burnus@net-b.de> Paul Thomas <pault@gcc.gnu.org> diff --git a/gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c b/gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c index 5a8e90f..cb97e8e 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c @@ -7,6 +7,9 @@ /* { dg-do link } */ /* { dg-options "-fno-finite-math-only" { target sh*-*-* } } */ +/* In order to fold algebraic exprs below, targets with "composite" + floating point formats need -funsafe-math-optimizations. */ +/* { dg-options "-funsafe-math-optimizations" { target mips*-*-irix6* powerpc*-*-* } } */ extern void link_error(int); diff --git a/gcc/testsuite/gcc.dg/torture/builtin-logb-1.c b/gcc/testsuite/gcc.dg/torture/builtin-logb-1.c index 6abf8a7..7c8de65 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-logb-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-logb-1.c @@ -7,6 +7,9 @@ /* { dg-do link } */ /* { dg-options "-fno-finite-math-only" { target sh*-*-* } } */ +/* In order to fold algebraic exprs below, targets with "composite" + floating point formats need -funsafe-math-optimizations. */ +/* { dg-options "-funsafe-math-optimizations" { target mips*-*-irix6* powerpc*-*-* } } */ extern void link_error(int); diff --git a/gcc/testsuite/gcc.dg/torture/builtin-modf-1.c b/gcc/testsuite/gcc.dg/torture/builtin-modf-1.c index 27fd1fd..f438d34 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-modf-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-modf-1.c @@ -7,6 +7,9 @@ /* { dg-do link } */ /* { dg-options "-fno-finite-math-only" { target sh*-*-* } } */ +/* In order to fold algebraic exprs below, targets with "composite" + floating point formats need -funsafe-math-optimizations. */ +/* { dg-options "-funsafe-math-optimizations" { target mips*-*-irix6* powerpc*-*-* } } */ extern void link_error(int); |