re PR c++/37016 (member function pointer failure with optimization)
authorJason Merrill <jason@redhat.com>
Wed, 6 Aug 2008 02:25:20 +0000 (22:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Aug 2008 02:25:20 +0000 (22:25 -0400)
commit0f67bdf1cd15b11f00c1cc7476a33393ee77d938
tree1e917da7345bbe99c4329abae07998e2d6e14561
parentc5073fc6e639eb00f64a1779ee6cc16477d5f3fc
re PR c++/37016 (member function pointer failure with optimization)

        PR c++/37016
        * decl.c (build_ptrmemfunc_type): Don't require structural
        comparison of PMF types.
        * tree.c (cp_build_qualified_type_real): Don't clear
        a valid TYPE_PTRMEMFUNC_TYPE.
        * typeck.c (cp_build_unary_op): Still do build_ptrmemfunc in
        templates.

From-SVN: r138756
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/tree.c
gcc/cp/typeck.c