empty11.C: New test.
authorMark Mitchell <mark@codesourcery.com>
Tue, 26 Nov 2002 07:20:13 +0000 (07:20 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 26 Nov 2002 07:20:13 +0000 (07:20 +0000)
commit2003cd3794588fe085d0d0b7d25f0ee368bb7694
treee33275eb6e613357e38a3107b8118e25a168ba55
parentcbad89c4e2c9f6fdb510bf9f2878ffcd31c91e2f
empty11.C: New test.

* testsuite/g++.dg/abi/empty11.C: New test.
* testsuite/g++.dg/rtti/cv1.C: New test.

* tree.c (cp_build_qualified_type_real): Correct handling of
array types.
* class.c (walk_subobject_offsets): Fix thinko.
(build_base_field): Record offsets of empty bases in primary
virtual bases.
(layout_class_type): Record offsets of empty bases in fields.

From-SVN: r59497
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/empty11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/rtti/cv1.C [new file with mode: 0644]