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
This commit is contained in:
Kaz Kojima 2008-03-31 01:17:57 +00:00
parent 9c94e7edbb
commit 5b6a73c3ec
2 changed files with 6 additions and 0 deletions

View 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

View 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)
{