[Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 17 22:38:00 GMT 2011


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



More information about the Gcc-bugs mailing list