PR c++/49267
commit9c11318dc2986c8d78df12a81779cd62161f590d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 04:33:48 +0000 (5 04:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 04:33:48 +0000 (5 04:33 +0000)
tree5625d935704f1dfefa35c0f60dbbe42c2e8b06ad
parentaf18580616ce581d8d730b15b6e5cca76896f30b
PR c++/49267
PR c++/49458
DR 1328
* call.c (reference_binding): Set rvaluedness_matches_p properly
for reference to function conversion ops.
(compare_ics): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178520 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-conv1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/rv-func3.C [new file with mode: 0644]