Commit 812be315 by Kaz Kojima

packed1.C: Expect warning on the SH.

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

From-SVN: r157113
parent baae602e
2010-02-27 Kaz Kojima <kkojima@gcc.gnu.org>
* g++.dg/abi/packed1.C: Expect warning on the SH.
2010-02-27 Simon Martin <simartin@users.sourceforge.net>
PR c++/42054:
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment