]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/164 (bogus error throwing class with inaccessible base)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 4 Dec 2001 09:48:53 +0000 (09:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 4 Dec 2001 09:48:53 +0000 (09:48 +0000)
commit713ccd0c6c230f7680c9d4c9502f5daab7002a26
treef877292b1f2f08518c8e2c8a040ed40556594a36
parentb318748ff4b6a9256695a3e768d4a951dd4b8ca6
re PR c++/164 (bogus error throwing class with inaccessible base)

cp:
PR g++/164
* init.c (sort_base_init): Allow binfos to be directly specified.
* method.c (do_build_copy_constructor): Explicitly convert to the
base instance.
(do_build_assign_ref): Likewise.
testsuite:
* g++.dg/inherit/base1.C: New test.

From-SVN: r47603
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/base1.C [new file with mode: 0644]