class.c (mark_primary_virtual_base): Don't adjust base offsets here.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 27 Jul 2001 15:12:49 +0000 (15:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 27 Jul 2001 15:12:49 +0000 (15:12 +0000)
commit0ab142b0273f6b8f76386e524702c969b7609afe
tree9a1ca077f80ae1edb19df119baaea738f59a70d6
parentd60d223b176c68cf2559eed8244977f935b39be9
class.c (mark_primary_virtual_base): Don't adjust base offsets here.

cp:
* class.c (mark_primary_virtual_base): Don't adjust base
offsets here.
(dfs_unshared_virtual_bases): Adjust them here.
(mark_primary_bases): Explain why we adjust at the end.
testsuite:
* g++.dg/abi/vbase8-21.C: New test.

From-SVN: r44425
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/vbase8-21.C [new file with mode: 0644]