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++/32756] [4.3 Regression] wrong ambiguous overload error?



------- 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


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