aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authormmitchel <>2005-10-13 07:38:40 +0000
committermmitchel <>2005-10-13 07:38:40 +0000
commitfe68493576df6f804d3b994225371127aab5f13a (patch)
tree47e3bf1306fadcd49657cf8f43c314aa5076aa1f /gcc/cp/ChangeLog
parent63487c5c5b896b4e84741a21a2efd89c98f09c9a (diff)
PR c++/22464
* semantics.c (finish_id_expression): Issue errors about uses of local variables in containing functions even in templates. PR c++/22180 * call.c (build_new_method_call): Correct pretty-printing of destructor names. * pt.c (tsubst_qualified_id): Recognize invalid uses of "~T" as an identifier. PR c++/23694 * decl.c (start_method): Return error_mark_node for errors. PR c++/23307 * pt.c (push_template_decl_real): Complain about attempts to declare template variables. PR c++/22352 * pt.c (tsubst_template_parms): Set processing_template_decl while processing the parameters. (tsubst_decl): Set processing_template_decl when substituting into a TEMPLATE_DECL. PR c++/22405 * pt.c (most_specialized_instantiation): Robustify. PR c++/22464 * g++.dg/template/crash/41.C: New test. PR c++/22180 * g++.dg/template/crash40.C: New test. PR c++/23694 * g++.dg/parse/friend5.C: New test. PR c++/23307 * g++.dg/template/crash38.C: New test. PR c++/22352 * g++.dg/template/friend38.C: New test. PR c++/22405 * g++.dg/template/crash39.C: New test.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index cb4ce856bfc..4ad7a080990 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,31 @@
+2005-10-13 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/22180
+ * call.c (build_new_method_call): Correct pretty-printing of
+ destructor names.
+ * pt.c (tsubst_qualified_id): Recognize invalid uses of "~T" as an
+ identifier.
+
+ PR c++/23694
+ * decl.c (start_method): Return error_mark_node for errors.
+
+ PR c++/23307
+ * pt.c (push_template_decl_real): Complain about attempts to
+ declare template variables.
+
+ PR c++/22352
+ * pt.c (tsubst_template_parms): Set processing_template_decl while
+ processing the parameters.
+ (tsubst_decl): Set processing_template_decl when substituting into
+ a TEMPLATE_DECL.
+
+ PR c++/22405
+ * pt.c (most_specialized_instantiation): Robustify.
+
+ PR c++/22464
+ * semantics.c (finish_id_expression): Issue errors about uses of
+ local variables in containing functions even in templates.
+
2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
PR target/21801