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++/38174] Missing some built-in candidates for operator overloading


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38174

--- Comment #8 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-14 14:43:06 UTC ---
Author: paolo
Date: Fri Oct 14 14:43:03 2011
New Revision: 179984

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179984
Log:
/cp
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/38174
    * call.c (add_builtin_candidate): If two pointers have a composite
    pointer type, generate a single candidate with that type.

/testsuite
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/38174
    * g++.dg/overload/operator4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/overload/operator4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


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