This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Adjust g++.dg/abi/packed1.C on the SPARC
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Feb 2010 01:24:04 +0100
- Subject: 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));