diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-16 15:14:01 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-16 15:14:01 +0000 |
commit | dd329d30040f8c9e493bf85514c364d5ac5d6551 (patch) | |
tree | 009b43e2a42820164aa4dc34cf57b12d25d56b3a /gcc/haifa-sched.c | |
parent | 2eb0fcbc8f9d73d8061a4634e4e3c9169fc862d8 (diff) | |
download | gcc-dd329d30040f8c9e493bf85514c364d5ac5d6551.tar.gz |
2016-04-16 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9
svn merge -r230196:230700 ^/trunk
}}
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@235061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index e712110b2d8..7443ac56cfe 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -9147,17 +9147,24 @@ haifa_finish_h_i_d (void) { int i; haifa_insn_data_t data; - struct reg_use_data *use, *next; + reg_use_data *use, *next_use; + reg_set_data *set, *next_set; FOR_EACH_VEC_ELT (h_i_d, i, data) { free (data->max_reg_pressure); free (data->reg_pressure); - for (use = data->reg_use_list; use != NULL; use = next) + for (use = data->reg_use_list; use != NULL; use = next_use) { - next = use->next_insn_use; + next_use = use->next_insn_use; free (use); } + for (set = data->reg_set_list; set != NULL; set = next_set) + { + next_set = set->next_insn_set; + free (set); + } + } h_i_d.release (); } |