From 69e2d7628c99310bb3ad422dd30be2ef9a042974 Mon Sep 17 00:00:00 2001 From: Andreas Zwinkau Date: Thu, 15 Sep 2011 14:09:41 +0200 Subject: [PATCH] Fix cfopt The cfopt itself can handle unreachable code, but it transforms it in a way that makes the verifier unhappy. --- ir/opt/cfopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/opt/cfopt.c b/ir/opt/cfopt.c index b10dc511a..927cb5d1b 100644 --- a/ir/opt/cfopt.c +++ b/ir/opt/cfopt.c @@ -972,7 +972,7 @@ static ir_graph_state_t do_cfopt(ir_graph *irg) optdesc_t opt_cf = { "control-flow", - 0, + IR_GRAPH_STATE_NO_UNREACHABLE_BLOCKS, do_cfopt, }; -- 2.20.1