This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch RFA] Tweak type-generic-1 tests for SH
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 05 Aug 2007 08:02:38 +0900 (JST)
- Subject: [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"