re PR c++/34603 (ICE with broken template declaration)
authorPaolo Carlini <paolo@gcc.gnu.org>
Thu, 24 Jan 2008 19:54:11 +0000 (19:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 24 Jan 2008 19:54:11 +0000 (19:54 +0000)
commit3fe82414fe09ce30d5dac1534b93a99b31e3e59a
tree72fbe70357bd20c54af731af390f266897a835c5
parent3371362cb0da76cbc80c8b96a9fb08ed7da34dbf
re PR c++/34603 (ICE with broken template declaration)

/cp
2008-01-24  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34603
        * pt.c (push_template_decl_real): Return error_mark_node in case
of template definition of non-template.

/testsuite
2008-01-24  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34603
        * g++.dg/template/crash77.C: New.

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