pt.c (check_explicit_specialization): If DECLARATOR turned into an error_mark_node...
authorBrendan Kehoe <brendan@cygnus.com>
Fri, 12 Jun 1998 12:56:22 +0000 (12:56 +0000)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Fri, 12 Jun 1998 12:56:22 +0000 (08:56 -0400)
commitf2e48b67c89f44445b0de9c529163b8aef7ee266
tree56757757a80d6d16d66fd71f0274e1a096021b6d
parent38831dfe51e50e0c24de08cd1657efd69ca809ac
pt.c (check_explicit_specialization): If DECLARATOR turned into an error_mark_node from lookup_template_function...

* 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.

From-SVN: r20444
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c