summaryrefslogtreecommitdiffstats
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-10 12:47:58 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-10 12:47:58 +0000
commit7b07a15edb365f63b6462d615dbfbde4e0a0c240 (patch)
tree106b3d4ce9f0c88a2a149ad06bdea8346dc81d58 /gcc/cp/ChangeLog
parent003880452d7643cfc86f86af7256b85723b49a4e (diff)
downloadppe42-gcc-7b07a15edb365f63b6462d615dbfbde4e0a0c240.tar.gz
ppe42-gcc-7b07a15edb365f63b6462d615dbfbde4e0a0c240.zip
2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/20118 cp/ * parser.c (cp_parser_check_template_parameters): Take a cp_declarator parameter. (cp_parser_elaborated_type_specifier): Update to cp_parser_check_template_parameters. (cp_parser_class_head): Likewise. (cp_parser_check_declarator_template_parameters): Likewise. (cp_parser_check_template_parameters): Handle first the non-error conditions. Give more accurate diagnostics if a declarator is given. testsuite/ * g++.dg/parse/pr20118.C: New. * g++.dg/template/spec16.C: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b11e0049796..847b4850462 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,16 @@
+2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ PR c++/20118
+ * parser.c (cp_parser_check_template_parameters): Take a
+ cp_declarator parameter.
+ (cp_parser_elaborated_type_specifier): Update to
+ cp_parser_check_template_parameters.
+ (cp_parser_class_head): Likewise.
+ (cp_parser_check_declarator_template_parameters): Likewise.
+ (cp_parser_check_template_parameters): Handle first the non-error
+ conditions. Give more accurate diagnostics if a declarator is
+ given.
+
2009-04-08 Jason Merrill <jason@redhat.com>
PR c++/25185
OpenPOWER on IntegriCloud