re PR c++/65880 (Member function issue with argument "pointer to const array of membe...
authorJason Merrill <jason@redhat.com>
Fri, 19 Jun 2015 18:15:36 +0000 (14:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 19 Jun 2015 18:15:36 +0000 (14:15 -0400)
commit62245e6f7ed68c9c387418827612d719fdc63830
treeec1e23a2b80f9dcd9f9bacd8d99ad47ace2e5e56
parent30ac6e80ba51480a0066329338b3ea5dbf423c26
re PR c++/65880 (Member function issue with argument "pointer to const array of member function pointers")

PR c++/65880
* decl.c (build_ptrmemfunc_type): Check TYPE_GET_PTRMEMFUNC_TYPE after
cv-qualifiers.
* typeck.c (merge_types): build_ptrmemfunc_type before applying
quals and attributes.

From-SVN: r224678
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/overload/pmf3.C [new file with mode: 0644]