This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch committed] Adjust g++.dg/abi/packed1.C on the SH
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 28 Feb 2010 07:15:28 +0900 (JST)
- Subject: [patch committed] Adjust g++.dg/abi/packed1.C on the SH
g++.dg/abi/packed1.C fails on SH with same warning as on
ia64, hppa and sparc. Tested both on i686-pc-linux-gnu
and sh4-unknown-linux-gnu. Applied on trunk.
Regards,
kaz
--
2010-02-27 Kaz Kojima <kkojima@gcc.gnu.org>
* g++.dg/abi/packed1.C: Expect warning on the SH.
--- ORIG/trunk/gcc/testsuite/g++.dg/abi/packed1.C 2010-02-27 10:20:36.000000000 +0900
+++ trunk/gcc/testsuite/g++.dg/abi/packed1.C 2010-02-27 12:47:06.000000000 +0900
@@ -4,7 +4,7 @@
extern "C" void abort ();
-struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* } }
+struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
virtual int foo() const { return 1; }
} __attribute__ ((packed));