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++/8171] Cannot compare pointer to member function of base and derived class



------- Comment #8 from aaw at gcc dot gnu dot org  2007-12-01 08:57 -------
Subject: Bug 8171

Author: aaw
Date: Sat Dec  1 08:56:55 2007
New Revision: 130554

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130554
Log:
        PR c++/8171

        gcc/cp/
        * typeck.c (build_binary_op): Add conversion of pointers to function
        members appearing as operands to the equality operators.

        gcc/testsuite/
        * g++.dg/conversion/ptrmem9.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/conversion/ptrmem9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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