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]

Adjust g++.dg/abi/packed1.C on the SPARC


Same warning as on IA-64 and HPPA.

Tested on SPARC/Solaris and SPARC64/Solaris, applied on the trunk.


2010-02-25  Eric Botcazou  <ebotcazou@adacore.com>

	* g++.dg/abi/packed1.C: Expect warning on the SPARC.


-- 
Eric Botcazou
Index: g++.dg/abi/packed1.C
===================================================================
--- g++.dg/abi/packed1.C	(revision 156989)
+++ g++.dg/abi/packed1.C	(working copy)
@@ -4,7 +4,7 @@
 
 extern "C" void abort ();
 
-struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* } }
+struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* } }
   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]