summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r--gcc/c-parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index 48edab70749..aad1c6bb048 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -4691,8 +4691,7 @@ c_parser_cast_expression (c_parser *parser, struct c_expr *after)
}
/* Save casted types in the function's used types hash table. */
- if (debug_info_level > DINFO_LEVEL_NONE)
- used_types_insert (type_name->specs->type, cfun);
+ used_types_insert (type_name->specs->type);
if (c_parser_next_token_is (parser, CPP_OPEN_BRACE))
return c_parser_postfix_expression_after_paren_type (parser,