aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-20 19:45:36 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-20 19:45:36 +0000
commitfbd40359903dd76a65dea95c8782cc47f28fbc77 (patch)
tree7ccfa0379a3a0d2a4e7803089ea3f13593b309bc /gcc/reload1.c
parentcd64831fc204fed5bcc6a957a43b1f3924a64960 (diff)
downloadgcc-fbd40359903dd76a65dea95c8782cc47f28fbc77.zip
gcc-fbd40359903dd76a65dea95c8782cc47f28fbc77.tar.gz
gcc-fbd40359903dd76a65dea95c8782cc47f28fbc77.tar.bz2
top level:
* diagnostic.c: Eliminate implicit int. * except.c, gcc.c: Add static prototypes. * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED. * gensupport.c (process_rtx): Use XVEC to initialize vector slot of 'split'. * print-rtl.c: If DEBUG_REGISTER_NAMES, define static debug_reg_names instead of static reg_names. If not, define global reg_names. * regclass.c: Don't define global reg_names unless DEBUG_REGISTER_NAMES is defined. * reload1.c (order_regs_for_reload): Remove unused variable. * varasm.c: Include output.h after defaults.h. Define eh_frame_section as function of no args, not of unspecified args. * gcc.c: Constify argbuf; arguments to store_arg, process_command, main; elements of struct command and struct switchstr; local variables in execute, process_command, main. cp: * except.c: Add static prototypes. From-SVN: r34054
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 3ff2b45..e7da78b 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1518,7 +1518,7 @@ static void
order_regs_for_reload (chain)
struct insn_chain *chain;
{
- register int i, j;
+ int i;
HARD_REG_SET used_by_pseudos;
HARD_REG_SET used_by_pseudos2;
@@ -1541,14 +1541,14 @@ order_regs_for_reload (chain)
CLEAR_REG_SET (&pseudos_counted);
EXECUTE_IF_SET_IN_REG_SET
- (&chain->live_throughout, FIRST_PSEUDO_REGISTER, j,
+ (&chain->live_throughout, FIRST_PSEUDO_REGISTER, i,
{
- count_pseudo (j);
+ count_pseudo (i);
});
EXECUTE_IF_SET_IN_REG_SET
- (&chain->dead_or_set, FIRST_PSEUDO_REGISTER, j,
+ (&chain->dead_or_set, FIRST_PSEUDO_REGISTER, i,
{
- count_pseudo (j);
+ count_pseudo (i);
});
CLEAR_REG_SET (&pseudos_counted);
}