cvt.c (convert_lvalue): New fn.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 6 Jul 2001 01:14:28 +0000 (21:14 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 6 Jul 2001 01:14:28 +0000 (21:14 -0400)
commitede3cf236bce7c56273771d610bf6b9989003d4f
treeecafd63437559b88e3461223aa98ff6d2c253181
parent1e4ce346c565ed6ca6606d6267f6c48c3fdadad1
cvt.c (convert_lvalue): New fn.

        * cvt.c (convert_lvalue): New fn.
        * cp-tree.h: Declare it.
        * method.c (do_build_assign_ref): Use it.
        (do_build_copy_constructor): Convert parm to base types
        before calling base constructors.

From-SVN: r43798
gcc/testsuite/g++.old-deja/g++.mike/p2846.C