re PR c++/3089 (ICE in dfs_accumulate_vtbl_inits)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 12 Jun 2001 08:47:48 +0000 (08:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 12 Jun 2001 08:47:48 +0000 (08:47 +0000)
commit7bdcf888aaa78808dc2dd4e16e70458244a607be
tree8b3d53c05d660b1ff673c9a0fba8a13a8ecbd8ba
parent5a2dd36ccd1ee21ef038ce6f6775a422020787bd
re PR c++/3089 (ICE in dfs_accumulate_vtbl_inits)

cp:
PR c++/3089
* class.c (dfs_accumulate_vtbl_inits): Always walk down the
hierarchy looking for primary bases for a ctor
vtable. Recursively call oneself, if we meet our primary via
this route and haven't met it yet via inheritance graph order.
testsuite:
* g++.old-deja/g++.abi/vbase4.C: New test.

From-SVN: r43248
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.abi/vbase4.C [new file with mode: 0644]