Basic block packing should trigger CFG cleanup, not a rerun of CSE. Fix this by setting REPEAT_CFG_CLEANUP pack_basic_blocks() instead of REPEAT_CSE. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow.c b/flow.c index b28d2e408..9d27e4307 100644 --- a/flow.c +++ b/flow.c @@ -1012,7 +1012,7 @@ out: /* * Merge the two. */ - repeat_phase |= REPEAT_CSE; + repeat_phase |= REPEAT_CFG_CLEANUP; parent->children = bb->children; bb->children = NULL; -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html