aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl-error.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-05-19 17:01:50 -0400
committerJason Merrill <jason@gcc.gnu.org>2010-05-19 17:01:50 -0400
commit2872152c39fbc1c91da3fc07e8701fadb6b87f98 (patch)
treea224afc9e9939a2cfe3c63c93d01f4adfa3c5a9d /gcc/rtl-error.c
parent1961ffb8cd83ccb0f91ce9b3015bb3290f48b04b (diff)
downloadgcc-2872152c39fbc1c91da3fc07e8701fadb6b87f98.zip
gcc-2872152c39fbc1c91da3fc07e8701fadb6b87f98.tar.gz
gcc-2872152c39fbc1c91da3fc07e8701fadb6b87f98.tar.bz2
re PR c++/44193 (function types, cv-quals and typename)
PR c++/44193 * typeck.c (type_memfn_quals): New fn. (apply_memfn_quals): New fn. (cp_type_quals): Return TYPE_UNQUALIFIED for FUNCTION_TYPE. (cp_type_readonly): Use cp_type_quals. * cp-tree.h: Add declarations. * tree.c (cp_build_qualified_type_real): Don't set, but do preserve, quals on FUNCTION_TYPE. (strip_typedefs): Use apply_memfn_quals and type_memfn_quals. * decl.c (build_ptrmem_type): Likewise. (grokdeclarator): Likewise. (static_fn_type): Likewise. * decl2.c (change_return_type): Likewise. (cp_reconstruct_complex_type): Likewise. * pt.c (tsubst_function_type): Likewise. (unify): Likewise. (tsubst): Likewise. Drop special FUNCTION_TYPE substitution code. From-SVN: r159596
Diffstat (limited to 'gcc/rtl-error.c')
0 files changed, 0 insertions, 0 deletions