Commit 3feb0298 by Zhouyi Zhou Committed by Jeff Law

ira-build.c (ira_flattening): Add the current object to OBJECTS_LIVE after traversing OBJECTS_LIVE.

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

From-SVN: r219046
parent 6a2cd809
2014-12-22 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* ira-build.c (ira_flattening): Add the current
object to OBJECTS_LIVE after traversing OBJECTS_LIVE.
2014-12-23 Martin Liska <mliska@suse.cz>
PR ipa/63851
......@@ -3252,7 +3252,6 @@ ira_flattening (int max_regno_before_emit, int ira_max_point_before_emit)
continue;
aclass = ALLOCNO_CLASS (a);
sparseset_set_bit (objects_live, OBJECT_CONFLICT_ID (obj));
EXECUTE_IF_SET_IN_SPARSESET (objects_live, n)
{
ira_object_t live_obj = ira_object_id_map[n];
......@@ -3264,6 +3263,7 @@ ira_flattening (int max_regno_before_emit, int ira_max_point_before_emit)
&& live_a != a)
ira_add_conflict (obj, live_obj);
}
sparseset_set_bit (objects_live, OBJECT_CONFLICT_ID (obj));
}
for (r = ira_finish_point_ranges[i]; r != NULL; r = r->finish_next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment