[Bug c++/49267] Ambiguity with conversion functions "T&" and "T&&", initializing a "T&&"
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 15:44:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49267
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-05 15:44:06 UTC ---
Author: jason
Date: Mon Sep 5 15:43:58 2011
New Revision: 178552
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178552
Log:
PR c++/49267
* call.c (compare_ics): rvaluedness_matches_p can differ
based on the source type, not just target.
Added:
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
More information about the Gcc-bugs
mailing list