This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35773] [4.3/4.4 regression] auto_ptr references don't convert
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2008 14:02:25 -0000
- Subject: [Bug c++/35773] [4.3/4.4 regression] auto_ptr references don't convert
- References: <bug-35773-1827@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jason at gcc dot gnu dot org 2008-04-17 14:02 -------
Subject: Bug 35773
Author: jason
Date: Thu Apr 17 14:01:26 2008
New Revision: 134398
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134398
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/overload/autoptr1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35773