diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 20:44:34 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 20:44:34 +0000 |
commit | 8c35fb1b3da63f3962cf18609b51185c3cf4836b (patch) | |
tree | a7cba8e4b6da5dfa5462ccbcd4c1402da6127528 /gcc | |
parent | 05d5500b280c994e2c71f44f37fb0714cb3d8ef7 (diff) | |
download | gcc-8c35fb1b3da63f3962cf18609b51185c3cf4836b.tar.gz |
regstat.c: Use rtx_insn
gcc/
* regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
rtx to rtx_insn *.
(regstat_bb_compute_calls_crossed): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 3c2f3a36edc..3988d7f5840 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 9dff2680c46..e5f72e43208 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)); |