summaryrefslogtreecommitdiff
path: root/gcc/ira-conflicts.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-17 22:05:45 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-17 22:05:45 +0000
commit630c50aa193dea8521e56921e12b5cfb98ea0287 (patch)
treea53a15dae5ac6bacf4adfba0107a7781b6b49d01 /gcc/ira-conflicts.c
parentf21a87d84ae19eb85b088169a3b499e978904df1 (diff)
downloadgcc-630c50aa193dea8521e56921e12b5cfb98ea0287.tar.gz
* ira-conflicts.c (build_conflict_bit_table): Add the current
object to OBJECTS_LIVE after traversing OBJECTS_LIVE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-conflicts.c')
-rw-r--r--gcc/ira-conflicts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c
index 7aaf0cb9948..cccdb6b074f 100644
--- a/gcc/ira-conflicts.c
+++ b/gcc/ira-conflicts.c
@@ -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)