This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch committed] Tweak g++.dg/other/error27.C for SH
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 31 Mar 2008 10:19:20 +0900 (JST)
- Subject: [patch committed] Tweak g++.dg/other/error27.C for SH
Hi,
I've applied the attached patch which adds -fno-finite-math-only
for sh* targets to g++.dg/other/error27.C test. The patch is
also tested on i686-pc-linux-gnu.
Regards,
kaz
-
2008-03-30 Kaz Kojima <kkojima@gcc.gnu.org>
* g++.dg/other/error27.C: Use -fno-finite-math-only on sh*
targets.
--- ORIG/trunk/gcc/testsuite/g++.dg/other/error27.C 2008-03-27 17:24:54.000000000 +0900
+++ LOCAL/trunk/gcc/testsuite/g++.dg/other/error27.C 2008-03-30 08:01:55.000000000 +0900
@@ -1,5 +1,6 @@
// PR c++/35332
// { dg-do compile }
+// { dg-options "-fno-finite-math-only" { target sh*-*-* } }
void foo (double x, double y)
{