From 06f74c054de936e40c2b58aedfb361b9f78ff356 Mon Sep 17 00:00:00 2001 From: Andreas Zwinkau Date: Thu, 26 May 2011 12:49:15 +0200 Subject: [PATCH] ifconv must remove bads first Fixes C/unkept_loop.c --- ir/opt/ifconv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ir/opt/ifconv.c b/ir/opt/ifconv.c index 511b89154..78184eece 100644 --- a/ir/opt/ifconv.c +++ b/ir/opt/ifconv.c @@ -477,6 +477,8 @@ void opt_if_conv(ir_graph *irg) DB((dbg, LEVEL_1, "Running if-conversion on %+F\n", irg)); + env.changed |= remove_bads(irg); + normalize_one_return(irg); remove_critical_cf_edges(irg); -- 2.20.1