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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43248 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/cp/ChangeLog 8 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/class.c 106 additions, 82 deletionsgcc/cp/class.c
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.old-deja/g++.abi/vbase4.C 165 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.abi/vbase4.C
Loading
Please register or sign in to comment