re PR c++/525 (Problem with Multiple Inheritance and -pedantic)
authorJason Merrill <jason@redhat.com>
Sat, 6 Apr 2002 16:15:20 +0000 (11:15 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 6 Apr 2002 16:15:20 +0000 (11:15 -0500)
commita29e103468238970130eeccec0bc239490a91300
treeb6c3cda163f08bc0122fe499f1ac70867a11fc42
parentf62ea15730209b4024837b30e9f0eb7e39fae3d9
re PR c++/525 (Problem with Multiple Inheritance and -pedantic)

        PR c++/525
        * init.c (build_member_call): Use build_scoped_ref.
        (resolve_offset_ref): Likewise.
        * call.c (build_scoped_method_call): Likewise.
        * tree.c (maybe_dummy_object): Kludge around current_class_type being
        wrong.
        * typeck2.c (build_scoped_ref): Return the binfo via binfo_p parm.
        * cp-tree.h: Adjust.

        * init.c (push_base_cleanups): Just use build_scoped_method_call.

From-SVN: r51956
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/lookup/disamb1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.jason/access8.C