diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index bcf2096..cf0e7cd 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -11215,7 +11215,7 @@ do_decl_instantiation (tree decl, tree storage) tree result = NULL_TREE; int extern_p = 0; - if (!decl) + if (!decl || decl == error_mark_node) /* An error occurred, for which grokdeclarator has already issued an appropriate message. */ return; |