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 RFA] Tweak type-generic-1 tests for SH


Hi,

The attached patch adds -mieee option for sh* target to
type-generic-1 tests introduced at revision 127146.
The patch is tested on i686-pc-linux-gnu too.
Ok for mainline?

Regards,
	kaz
--
2007-08-04  Kaz Kojima  <kkojima@gcc.gnu.org>

	* g++.dg/torture/type-generic-1.C: Add -mieee for sh.
	* gcc.dg/torture/type-generic-1.c: Likewise.

diff -uprN ORIG/trunk/gcc/testsuite/g++.dg/torture/type-generic-1.C LOCAL/trunk/gcc/testsuite/g++.dg/torture/type-generic-1.C
--- ORIG/trunk/gcc/testsuite/g++.dg/torture/type-generic-1.C	2007-08-03 09:38:22.000000000 +0900
+++ LOCAL/trunk/gcc/testsuite/g++.dg/torture/type-generic-1.C	2007-08-04 09:30:55.000000000 +0900
@@ -2,6 +2,7 @@
    without any fast-math flags.  */
 
 /* { dg-do run } */
+/* { dg-options "-mieee" { target sh*-*-* } } */
 
 #include "../../gcc.dg/tg-tests.h"
 
diff -uprN ORIG/trunk/gcc/testsuite/gcc.dg/torture/type-generic-1.c LOCAL/trunk/gcc/testsuite/gcc.dg/torture/type-generic-1.c
--- ORIG/trunk/gcc/testsuite/gcc.dg/torture/type-generic-1.c	2007-08-03 09:38:18.000000000 +0900
+++ LOCAL/trunk/gcc/testsuite/gcc.dg/torture/type-generic-1.c	2007-08-04 09:31:42.000000000 +0900
@@ -2,6 +2,7 @@
    without any fast-math flags.  */
 
 /* { dg-do run } */
+/* { dg-options "-mieee" { target sh*-*-* } } */
 
 #include "../tg-tests.h"
 


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