From d7fe3663e68f8ea135d69e043054720d59767577 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 21 Nov 2012 16:42:49 +0100 Subject: [PATCH] ast2firm: Keep the ijmp block and memory. It might be an (endless) loop header. --- ast2firm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ast2firm.c b/ast2firm.c index b425a1e..81c0a48 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -5225,6 +5225,7 @@ static void create_function(entity_t *entity) } if (enter_jump_target(&ijmp_target)) { + keep_loop(); size_t const n = ARR_LEN(ijmp_ops); ir_node *const op = n == 1 ? ijmp_ops[0] : new_Phi(n, ijmp_ops, get_irn_mode(ijmp_ops[0])); ir_node *const ijmp = new_IJmp(op); -- 2.20.1