OSDN Git Service

* pt.c (check_explicit_specialization): If DECLARATOR turned into
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jun 1998 12:56:22 +0000 (12:56 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jun 1998 12:56:22 +0000 (12:56 +0000)
commitd2a8ac7d0e3be7aef1bb84994c83affa299c812f
tree56757757a80d6d16d66fd71f0274e1a096021b6d
parentef5f01988ef8fb32f2d63f28b0db3b4c0cef027e
* pt.c (check_explicit_specialization): If DECLARATOR turned into
an error_mark_node from lookup_template_function, return the same.
(determine_specialization): Also make sure TEMPLATE_ID isn't an
error_mark_node, before we try to read its operands.
* decl.c (grokdeclarator): If we got an error_mark_node from
check_explicit_specialization, just return it right back.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20444 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c