https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52282

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Nov 17 17:00:38 2014
New Revision: 217660

URL: https://gcc.gnu.org/viewcvs?rev=217660&root=gcc&view=rev
Log:
    PR c++/52282
    * decl.c (build_ptrmemfunc_type): Don't build a different
    RECORD_TYPE for a qualified PMF.
    * cp-tree.h (TYPE_PTRMEMFUNC_FN_TYPE): Merge cv-quals.
    (TYPE_PTRMEMFUNC_FN_TYPE_RAW): New.
    * decl2.c (cplus_decl_attributes): Use TYPE_PTRMEMFUNC_FN_TYPE_RAW.
    * tree.c (cp_walk_subtrees): Likewise.
    (cp_build_qualified_type_real): Remove special PMF handling.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-decltype1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/tree.c

Reply via email to