OSDN Git Service

cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2000 10:55:32 +0000 (10:55 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2000 10:55:32 +0000 (10:55 +0000)
commit045ed8f8805fe6c4cb3c4ee024739588f0ca4de3
treea663502c969fdc01fa746da34280a67ac26c0011
parent2a8be21eed666c48c846ef43bb9abad29da23b31
cp:
* cp-tree.h (binfo_from_vbase): Return the virtual base's binfo.
* cvt.c (cp_convert_to_pointer): Add force parameter.
Allow conversions via virtual base if forced.
(convert_to_pointer_force): Adjust call to cp_convert_to_pointer.
(ocp_convert): Likewise.
* search.c (binfo_from_vbase): Return the virtual base's binfo.
* typeck.c (get_delta_difference): Adjust handling of virtual
bases.
testsuite:
* g++.old-deja/g++.other/ptrmem8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37791 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/search.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/ptrmem8.C [new file with mode: 0644]