diff options
author | Zhouyi Zhou <yizhouzhou@ict.ac.cn> | 2014-12-23 19:02:46 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2014-12-23 12:02:46 -0700 |
commit | 3feb029833c3f53ce4753f78ef6a2ce5b11492d9 (patch) | |
tree | 670059898e207a6b7aabca770e3b90462eddaf92 /gcc/ira-build.c | |
parent | 6a2cd809f7bb5e6ab8829981c40c89a575bdc95c (diff) | |
download | gcc-3feb029833c3f53ce4753f78ef6a2ce5b11492d9.zip gcc-3feb029833c3f53ce4753f78ef6a2ce5b11492d9.tar.gz gcc-3feb029833c3f53ce4753f78ef6a2ce5b11492d9.tar.bz2 |
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
Diffstat (limited to 'gcc/ira-build.c')
-rw-r--r-- | gcc/ira-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-build.c b/gcc/ira-build.c index af82b71..66318096 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -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) |