diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/regstat.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c2f3a3..3988d7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2014-08-22 David Malcolm <dmalcolm@redhat.com> + * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from + rtx to rtx_insn *. + (regstat_bb_compute_calls_crossed): Likewise. + +2014-08-22 David Malcolm <dmalcolm@redhat.com> + * regrename.c (create_new_chain): Strengthen param "insn" from rtx to rtx_insn *. (init_rename_info): Replace use of NULL_RTX with NULL when dealing diff --git a/gcc/regstat.c b/gcc/regstat.c index 9dff268..e5f72e43 100644 --- a/gcc/regstat.c +++ b/gcc/regstat.c @@ -121,7 +121,7 @@ regstat_bb_compute_ri (unsigned int bb_index, int *local_live_last_luid) { basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index); - rtx insn; + rtx_insn *insn; df_ref def, use; int luid = 0; bitmap_iterator bi; @@ -429,7 +429,7 @@ static void regstat_bb_compute_calls_crossed (unsigned int bb_index, bitmap live) { basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index); - rtx insn; + rtx_insn *insn; df_ref def, use; bitmap_copy (live, df_get_live_out (bb)); |