This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]