From cbad01fa81e0fab4a1a9b24318fd71b500cdfe81 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 14 Apr 2011 19:36:39 +0200 Subject: [PATCH] Try fixing if-conversion in presence of endless loops. Merge the lower block into the upper block (instead of the other way round), so we do not turn the upper block, which might still be in the DFS stack, into and ID node. --- ir/opt/ifconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/opt/ifconv.c b/ir/opt/ifconv.c index 0d1307a9a..7c2185fa8 100644 --- a/ir/opt/ifconv.c +++ b/ir/opt/ifconv.c @@ -400,7 +400,7 @@ restart: if (arity == 2) { unsigned mark; -#if 1 +#if 0 DB((dbg, LEVEL_1, "Welding block %+F and %+F\n", block, mux_block)); /* copy the block-info from the Mux-block to the block before merging */ -- 2.20.1