* pt.c (push_template_decl_real): Deal better with running out of
scopes before running out of template parms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157842
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-03-30 Jason Merrill <jason@redhat.com>
+ PR c++/43076
+ * pt.c (push_template_decl_real): Deal better with running out of
+ scopes before running out of template parms.
+
PR c++/41185
PR c++/41786
* parser.c (cp_parser_direct_declarator): Don't allow VLAs in
if (current == decl)
current = ctx;
+ else if (current == NULL_TREE)
+ /* Can happen in erroneous input. */
+ break;
else
current = (TYPE_P (current)
? TYPE_CONTEXT (current)
2010-03-30 Jason Merrill <jason@redhat.com>
+ PR c++/43076
+ * g++.dg/template/error-recovery1.C: New.
+
PR c++/41786
* g++.dg/parse/ambig5.C: New.