]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/init.c
re PR c++/11789 (rejects legal, multiple inheritance (inheriting from same class...
authorMark Mitchell <mark@codesourcery.com>
Mon, 11 Aug 2003 02:49:44 +0000 (02:49 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 11 Aug 2003 02:49:44 +0000 (02:49 +0000)
commitd9148cf498826028803b6e00a2ca60ac83113cfb
tree435bbfbc71784aee4588349e3b26519977005e65
parent5a05675643f4695565a48f52a298a670974dc354
re PR c++/11789 (rejects legal, multiple inheritance (inheriting from same class twice))

PR c++/11789
* cp-tree.h (get_vbase): Remove.
(get_vbase_types): Remove.
* init.c (expand_member_init): Correct logic for looking up base
classes.

PR c++/11789.C
* g++.dg/inherit/multiple1.C: New test.

From-SVN: r70316
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/multiple1.C [new file with mode: 0644]
This page took 0.056472 seconds and 5 git commands to generate.