]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/cvt.c
* error.c (dump_function_name): Don't let the user see __comp_ctor.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Dec 2000 18:34:12 +0000 (18:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Dec 2000 18:34:12 +0000 (18:34 +0000)
commit3eb89cd8a40a14d84792a8ee6d842e5df4a18449
tree54b3338c1d73ee9a2ebbb69f448b63e37a850f4e
parent6c98ee43da3c209e9172e12e569f5853a48ef0ae
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38158 138bc75d-0d04-0410-961f-82ee72b054a4
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