From 56de10a1d17a296465b414644386155ff4585f9b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 13 Dec 2008 19:47:38 +0000 Subject: [PATCH] missing skip_typeref [r24626] --- ast2firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast2firm.c b/ast2firm.c index 03b2c59..c989f72 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -4411,7 +4411,7 @@ static void declaration_statement_to_firm(declaration_statement_t *statement) if (is_declaration(entity)) { initialize_local_declaration(entity); } else if (entity->kind == ENTITY_TYPEDEF) { - type_t *const type = entity->typedefe.type; + type_t *const type = skip_typeref(entity->typedefe.type); if (is_type_array(type) && type->array.is_vla) get_vla_size(&type->array); } -- 2.20.1