This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Sep 2011 22:35:15 +0000
- Subject: [Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98
- Auto-submitted: auto-generated
- References: <bug-50442-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-17 22:35:15 UTC ---
Author: jason
Date: Sat Sep 17 22:35:10 2011
New Revision: 178932
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178932
Log:
PR c++/50442
Revert:
PR c++/49267
* call.c (compare_ics): rvaluedness_matches_p can differ
based on the source type, not just target.
Removed:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-conv1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/call.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog