From 5b6a73c3ece1f92002771f2ca7c3bb4a3fbfa424 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Mon, 31 Mar 2008 01:17:57 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/other/error27.C | 1 + 2 files changed, 6 insertions(+) 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 + + * g++.dg/other/error27.C: Use -fno-finite-math-only on sh* + targets. + 2008-03-30 John David Anglin 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) { -- 2.7.4