aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ba3bbf2..72d7832 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,14 @@
2009-11-24 Jason Merrill <jason@redhat.com>
+ PR c++/42137
+ * parser.c (cp_parser_mem_initializer_id): Pass typename_type to
+ cp_parser_class_name.
+ (cp_parser_unqualified_id): Same, rather than class_type.
+
+ PR c++/11764
+ * parser.c (cp_parser_expression_statement): Give helpful error
+ for constructor name used as type.
+
* pt.c (determine_specialization): Give helpful error about missing
"template<>".