From: Andreas Zwinkau Date: Thu, 15 Sep 2011 12:09:41 +0000 (+0200) Subject: Fix cfopt X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=69e2d7628c99310bb3ad422dd30be2ef9a042974;p=libfirm Fix cfopt The cfopt itself can handle unreachable code, but it transforms it in a way that makes the verifier unhappy. --- 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, };