[Bug c++/32756] [4.3 Regression] wrong ambiguous overload error?
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 16 17:27:00 GMT 2007
------- Comment #7 from nathan at gcc dot gnu dot org 2007-09-16 17:26 -------
Subject: Bug 32756
Author: nathan
Date: Sun Sep 16 17:26:42 2007
New Revision: 128528
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128528
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/overload/operator3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32756
More information about the Gcc-bugs
mailing list