OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2008 19:54:11 +0000 (19:54 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2008 19:54:11 +0000 (19:54 +0000)
commitc05c4be31ea4fd8502bfd657983b0900a986cc19
tree72fbe70357bd20c54af731af390f266897a835c5
parent79d524443eb5fae1e8fc0fff901dc3427eb00dca
/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.

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