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] 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));
 


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