This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34824] [4.1/4.2/4.3 Regression] ICE with explicit copy constructor
- 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: 13 Feb 2008 04:06:48 -0000
- Subject: [Bug c++/34824] [4.1/4.2/4.3 Regression] ICE with explicit copy constructor
- References: <bug-34824-15653@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jason at gcc dot gnu dot org 2008-02-13 04:06 -------
Subject: Bug 34824
Author: jason
Date: Wed Feb 13 04:06:03 2008
New Revision: 132282
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132282
Log:
PR c++/34824
* call.c (convert_like_real): Pass LOOKUP_ONLYCONVERTING to build_temp
if we're doing conversions to call a user-defined conversion function.
Added:
trunk/gcc/testsuite/g++.dg/overload/copy1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34824