diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2008-03-31 01:17:57 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2008-03-31 01:17:57 +0000 |
commit | 5b6a73c3ece1f92002771f2ca7c3bb4a3fbfa424 (patch) | |
tree | 04ce0a94c47635ebead578382efac0efdc7cc1b1 /gcc | |
parent | 9c94e7edbbb52c5ef4fc30cfd2d06bb96179cb50 (diff) | |
download | gcc-5b6a73c3ece1f92002771f2ca7c3bb4a3fbfa424.zip gcc-5b6a73c3ece1f92002771f2ca7c3bb4a3fbfa424.tar.gz gcc-5b6a73c3ece1f92002771f2ca7c3bb4a3fbfa424.tar.bz2 |
error27.C: Use -fno-finite-math-only on sh* targets.
* g++.dg/other/error27.C: Use -fno-finite-math-only on sh*
targets.
From-SVN: r133746
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/error27.C | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 93d4579..f81763a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-03-30 Kaz Kojima <kkojima@gcc.gnu.org> + + * g++.dg/other/error27.C: Use -fno-finite-math-only on sh* + targets. + 2008-03-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR c++/35245 diff --git a/gcc/testsuite/g++.dg/other/error27.C b/gcc/testsuite/g++.dg/other/error27.C index 70ac480..de97428 100644 --- a/gcc/testsuite/g++.dg/other/error27.C +++ b/gcc/testsuite/g++.dg/other/error27.C @@ -1,5 +1,6 @@ // PR c++/35332 // { dg-do compile } +// { dg-options "-fno-finite-math-only" { target sh*-*-* } } void foo (double x, double y) { |