re PR c++/32756 (wrong ambiguous overload error?)
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 16 Sep 2007 17:26:42 +0000 (17:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 16 Sep 2007 17:26:42 +0000 (17:26 +0000)
commit0ee3f0a892918371a5245de973480bc443126558
tree16195234eba827edd3e29d3d1df861daf7be358d
parentce616dd5acdb51f6ee1705e95c20b1f9f4e41525
re PR c++/32756 (wrong ambiguous overload error?)

cp/
PR c++/32756
* call.c (maybe_handle_implicit_object): Set this_p, clear
rvaluedness_matches_p.
(compare_ics): Do not compare rvaluedness matching when one of the
operands is an implicit object.

testsuite/
PR c++/32756
* g++.dg/overload/operator3.C: New.

From-SVN: r128528
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/operator3.C [new file with mode: 0644]