re PR c++/43076 (ICE: SIGSEGV with invalid C++ code after giving diagnostics)
authorJason Merrill <jason@redhat.com>
Tue, 30 Mar 2010 22:34:02 +0000 (18:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 Mar 2010 22:34:02 +0000 (18:34 -0400)
commit745370784f44000eab2fada5b93aa62e513c575c
treeab94c5c4fb4d5c3e87c4882aa89cfe910d132d8a
parentfb077955541f329953d7f1e4e6c026e62faa30a8
re PR c++/43076 (ICE: SIGSEGV with invalid C++ code after giving diagnostics)

PR c++/43076
* pt.c (push_template_decl_real): Deal better with running out of
scopes before running out of template parms.

From-SVN: r157842
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/error-recovery1.C [new file with mode: 0644]