From 60408d8b5e83acb9ea0912f6b75eb19d68aba590 Mon Sep 17 00:00:00 2001 From: Zhouyi Zhou Date: Mon, 17 Nov 2014 22:05:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/ira-conflicts.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 366be84ad34..36bf41fcdba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-11-17 Zhouyi Zhou + + * ira-conflicts.c (build_conflict_bit_table): Add the current + object to OBJECTS_LIVE after traversing OBJECTS_LIVE. + 2014-11-17 Jan Hubicka * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation. 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) -- 2.30.2