BugFix: use the maximum as the comments says, NOT the minimum
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 25 Apr 2007 10:07:58 +0000 (10:07 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 25 Apr 2007 10:07:58 +0000 (10:07 +0000)
[r13463]

ir/ana/irmemory.c

index 90f9175..0009a87 100644 (file)
@@ -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;
        }