diff options
Diffstat (limited to 'gcc/c/c-decl.c')
-rw-r--r-- | gcc/c/c-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index ed7ddfc6f73..968f6e81acf 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -4562,7 +4562,7 @@ add_flexible_array_elts_to_size (tree decl, tree init) EXPR_CONST_OPERANDS not NULL, to indicate whether the type name may appear in a constant expression. */ -tree +ttype * groktypename (struct c_type_name *type_name, tree *expr, bool *expr_const_operands) { @@ -4578,7 +4578,7 @@ groktypename (struct c_type_name *type_name, tree *expr, /* Apply attributes. */ type_attributes (&type, attrs, 0); - return type; + return TTYPE (type); } /* Wrapper for decl_attributes that adds some implicit attributes |