This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50512] surprising change in overloading resolution


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]