aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 751d0f6..9f5e27e 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -3986,6 +3986,8 @@ arg_assoc_type (struct arg_lookup *k, tree type)
{
switch (TREE_CODE (type))
{
+ case ERROR_MARK:
+ return false;
case VOID_TYPE:
case INTEGER_TYPE:
case REAL_TYPE: