class.c (finish_struct_1): When copying the primary base's VFIELD, make sure we find...
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 27 Jul 2001 15:07:40 +0000 (15:07 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 27 Jul 2001 15:07:40 +0000 (15:07 +0000)
commitd60d223b176c68cf2559eed8244977f935b39be9
tree9e995882baa499a8e21aa023f3eb814b35513a47
parent08ecdbebab368105c958935c47f6fde5d225e41a
class.c (finish_struct_1): When copying the primary base's VFIELD, make sure we find it is at offset zero.

cp:
* class.c (finish_struct_1): When copying the primary base's
VFIELD, make sure we find it is at offset zero.
testsuite:
* g++.dg/abi/vbase8-10.C: New test.

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