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++/17805] too liberal operator lookup


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

--- Comment #11 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-15 19:15:51 UTC ---
Author: paolo
Date: Mon Oct 15 19:15:48 2012
New Revision: 192471

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192471
Log:
/cp
2012-10-15  Alexandre Oliva  <aoliva@redhat.com>
        Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/17805
    * call.c (build_new_op): Filter out operator functions that don't
    satisfy enum-conversion match requirements.

/testsuite
2012-10-15  Alexandre Oliva  <aoliva@redhat.com>
        Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/17805
    * g++.dg/overload/operator6.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/overload/operator6.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]