2011-05-24 Janis Johnson * g++.dg/abi/packed1.C: Ignore warning. Index: g++.dg/abi/packed1.C =================================================================== --- g++.dg/abi/packed1.C (revision 174094) +++ g++.dg/abi/packed1.C (working copy) @@ -1,10 +1,12 @@ // PR c++/41788 // { dg-options "-Wpacked" } // { dg-do run } +// Ignore a warning that is irrelevant to the purpose of this test. +// { dg-prune-output "inefficient.*vptr" } extern "C" void abort (); -struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* mips-sgi-irix* sparc*-*-* spu-*-* sh*-*-* } } +struct INNER { virtual int foo() const { return 1; } } __attribute__ ((packed));