Commit b6d90461 by Mark Mitchell Committed by Mark Mitchell

* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.

From-SVN: r75241
parent 22dc9b06
2003-12-30 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.
2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
* g++.old-deja/g++.jason/thunk2.C: Remove traces of dead
......
......@@ -3,5 +3,11 @@
struct A { virtual void f(); char c1; };
struct B { B(); char c2; };
struct C : public A, public virtual B {}; // { dg-warning "ABI" }
// On ARM processors, the alignment of B will be 4 even though it
// contains only a single "char". That avoids the situation that the
// warning below is designed to catch. On ARM NetBSD, the alignment
// of B will be only 1 -- but there is no way to tell DejaGNU that a
// failure is expected on all ARM targets except arm*-*-netbsd*.
// Therefore, this test will XPASS on arm*-*-netbsd*.
struct C : public A, public virtual B {}; // { dg-warning "ABI" "" { xfail arm*-*-* } }
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