From 46fdd0c3cbc755a43255270fde6ab0fd097c0583 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 25 Apr 2007 10:07:58 +0000 Subject: [PATCH] BugFix: use the maximum as the comments says, NOT the minimum [r13463] --- ir/ana/irmemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index 90f9175af..0009a8752 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -603,7 +603,7 @@ static void check_global_address(ir_node *irn, void *env) { } else return; - if (get_entity_address_taken(ent) == ir_address_not_taken) { + if (get_entity_address_taken(ent) >= ir_address_taken) { /* Already at the maximum. */ return; } -- 2.20.1