ira-conflicts.c (build_conflict_bit_table): Add the current object to OBJECTS_LIVE after traversing OBJECTS_LIVE.

* ira-conflicts.c (build_conflict_bit_table): Add the current
        object to OBJECTS_LIVE after traversing OBJECTS_LIVE.

From-SVN: r217676
This commit is contained in:
Zhouyi Zhou 2014-11-17 22:05:45 +00:00 committed by Jeff Law
parent 231b4916bf
commit 60408d8b5e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-11-17 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* ira-conflicts.c (build_conflict_bit_table): Add the current
object to OBJECTS_LIVE after traversing OBJECTS_LIVE.
2014-11-17 Jan Hubicka <hubicka@ucw.cz>
* ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.

View File

@ -177,7 +177,6 @@ build_conflict_bit_table (void)
gcc_assert (id < ira_objects_num);
aclass = ALLOCNO_CLASS (allocno);
sparseset_set_bit (objects_live, id);
EXECUTE_IF_SET_IN_SPARSESET (objects_live, j)
{
ira_object_t live_obj = ira_object_id_map[j];
@ -191,6 +190,7 @@ build_conflict_bit_table (void)
record_object_conflict (obj, live_obj);
}
}
sparseset_set_bit (objects_live, id);
}
for (r = ira_finish_point_ranges[i]; r != NULL; r = r->finish_next)