aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0d927c9..255ecd3 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,23 @@
+2010-05-19 Jason Merrill <jason@redhat.com>
+
+ 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.
+
2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
* tree.c (build_min_non_dep_call_vec): Update comment.