diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-22 17:42:44 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-22 17:42:44 +0000 |
commit | 44bd200667537f49acf0af66916d222d760294de (patch) | |
tree | 763c7d92eebfb3121d54a972c46d0204154fb1d5 /gcc | |
parent | e6ae24bcee323d2adf4f8591a49a344b71e18dad (diff) | |
download | gcc-44bd200667537f49acf0af66916d222d760294de.zip gcc-44bd200667537f49acf0af66916d222d760294de.tar.gz gcc-44bd200667537f49acf0af66916d222d760294de.tar.bz2 |
init-regs.c: Use rtx_insn
gcc/
* init-regs.c (initialize_uninitialized_regs): Strengthen locals
"insn" and "move_insn" from rtx to rtx_insn *.
From-SVN: r214337
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/init-regs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c287085..f2ab27e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-08-22 David Malcolm <dmalcolm@redhat.com> + * init-regs.c (initialize_uninitialized_regs): Strengthen locals + "insn" and "move_insn" from rtx to rtx_insn *. + +2014-08-22 David Malcolm <dmalcolm@redhat.com> + * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to rtx_insn *. (cheap_bb_rtx_cost_p): Likewise. diff --git a/gcc/init-regs.c b/gcc/init-regs.c index ff688962..91b123d 100644 --- a/gcc/init-regs.c +++ b/gcc/init-regs.c @@ -61,7 +61,7 @@ initialize_uninitialized_regs (void) FOR_EACH_BB_FN (bb, cfun) { - rtx insn; + rtx_insn *insn; bitmap lr = DF_LR_IN (bb); bitmap ur = DF_LIVE_IN (bb); bitmap_clear (already_genned); @@ -94,7 +94,7 @@ initialize_uninitialized_regs (void) if (bitmap_bit_p (lr, regno) && (!bitmap_bit_p (ur, regno))) { - rtx move_insn; + rtx_insn *move_insn; rtx reg = DF_REF_REAL_REG (use); bitmap_set_bit (already_genned, regno); |