[Bug c++/50512] surprising change in overloading resolution
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 26 18:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50512
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-26 17:55:12 UTC ---
Author: jason
Date: Mon Sep 26 17:55:04 2011
New Revision: 179208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179208
Log:
PR c++/50512
* call.c (compare_ics): Only consider rvaluedness_matches_p
if the target type is the same or it too differs in rvalueness.
Added:
trunk/gcc/testsuite/g++.dg/overload/rvalue3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list