error27.C: Use -fno-finite-math-only on sh* targets.
authorKaz Kojima <kkojima@gcc.gnu.org>
Mon, 31 Mar 2008 01:17:57 +0000 (01:17 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Mon, 31 Mar 2008 01:17:57 +0000 (01:17 +0000)
* g++.dg/other/error27.C: Use -fno-finite-math-only on sh*
targets.

From-SVN: r133746

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error27.C

index 93d45791b40bdad325cbecffde11172650e7454f..f81763a5129481834e31aa937ccae6a0b183712b 100644 (file)
@@ -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
index 70ac480ee3e2c30858d518c72addb1a49524d33e..de97428571b71a8e4256cacca6cfbf41eb5bd925 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/35332
 // { dg-do compile }
+// { dg-options "-fno-finite-math-only" { target sh*-*-* } }
 
 void foo (double x, double y)
 {