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++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98


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


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