From 32c095b6229d5d1522d5fc8c4f2e2d2a5f681bd4 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 16 Aug 2012 16:38:36 +0200 Subject: [PATCH] Fix a possible endless loop in ir_values_overlap --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index 1d4d047..cd35d83 100644 --- a/ir.c +++ b/ir.c @@ -977,7 +977,7 @@ bool ir_values_overlap(const ir_value *a, const ir_value *b) if (++la == enda) break; } - else if (lb->start < la->start) + else /* if (lb->start < la->start) actually <= */ { /* order: B A, move B forward * check if we hit the end with B -- 2.39.2