[patch committed] Tweak g++.dg/other/error27.C for SH
Kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Mar 31 07:41:00 GMT 2008
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)
{
More information about the Gcc-patches
mailing list