OSDN Git Service

PR c++/34100
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 07:06:25 +0000 (07:06 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2007 07:06:25 +0000 (07:06 +0000)
commit922083746ccf748c81bde84987e8e6f686919421
tree69bdbfb012a1c1899d137ac74395d71db0a76945
parent9db54d6e220c7cae1faf3b35ca41077eaf61837c
PR c++/34100
* pt.c (apply_late_template_attributes): Do nothing if decl's type is
error_mark_node.

* g++.dg/template/crash73.C: New test.

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