/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Sep 2008 20:38:32 +0000 (20:38 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Sep 2008 20:38:32 +0000 (20:38 +0000)
commit0ea8c695c52cdbd57f66a5fa3cc80ba335fc64a5
treeb8e2cf7407e46a574e1f4451dd2753405418547a
parentd34f4b408e0faad09f03f034b99f00c3034357a5
/cp
2008-09-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/37649
* name-lookup.c (maybe_process_template_type_declaration): Check
return value of push_template_decl_real for error_mark_node.

/testsuite
2008-09-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/37649
* g++.dg/template/crash82.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140670 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash82.C [new file with mode: 0644]