error.c (dump_function_name): Don't let the user see __comp_ctor.
authorJason Merrill <jason@redhat.com>
Sat, 9 Dec 2000 18:34:12 +0000 (13:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 9 Dec 2000 18:34:12 +0000 (13:34 -0500)
commit5e818b935158ec6f4b03e583c7e9a3c2d986fd9e
tree54b3338c1d73ee9a2ebbb69f448b63e37a850f4e
parent193ad8c673aeacf0f13882c7816c6e6aeee240de
error.c (dump_function_name): Don't let the user see __comp_ctor.

        * error.c (dump_function_name): Don't let the user see __comp_ctor.

        Clean up copy-initialization in overloading code.
        * call.c (build_user_type_conversion_1): Die if we are asked to
        convert to the same or a base type.
        (implicit_conversion): Avoid doing so.  Lose reference binding code.
        (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
        direct-initialization.  Also do direct-init part of copy-init.
        (build_user_type_conversion): Don't provide context to convert_like.
        * cvt.c (ocp_convert): build_user_type_conversion will now provide
        the constructor call for copy-init.

        * pt.c (tsubst_decl): Call clone_function_decl here if this is an
        instantiation of a member template.
        (do_decl_instantiation): Not here.

From-SVN: r38158
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cvt.c
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.law/cvt7.C
gcc/testsuite/g++.old-deja/g++.mike/p5469.C
gcc/testsuite/g++.old-deja/g++.mike/p5469a.C