OSDN Git Service

PR c++/35773
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Apr 2008 14:01:26 +0000 (14:01 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Apr 2008 14:01:26 +0000 (14:01 +0000)
commitfd25a1d05fff30417b7821a77c0d034abc129baa
tree0f3beacf2dcdb116cafffbd9623593aacb453e4c
parent382e3eba9c7a0ca3e5248885b305b689b3fb067c
    PR c++/35773
        * cp/call.c (build_user_type_conversion_1): Represent second step of
        copy-init with an rvalue conversion.
        (convert_like_real) [ck_user]: Don't implicitly add it here.
        * g++.dg/overload/autoptr1.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134398 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/autoptr1.C [new file with mode: 0644]