aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-16 15:37:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-16 15:37:57 +0000
commitc1b50e4978a214de1df4b7f61395bee83a924426 (patch)
tree8e1daad7c2e283ef9a752a13edb569be18027b32 /gcc/flow.c
parent93d8c755c1c1ff211f75564b877a490e2df70384 (diff)
downloadgcc-c1b50e4978a214de1df4b7f61395bee83a924426.zip
gcc-c1b50e4978a214de1df4b7f61395bee83a924426.tar.gz
gcc-c1b50e4978a214de1df4b7f61395bee83a924426.tar.bz2
dbxout.c (lastfile, cwd): Fix `unused' warning.
* dbxout.c (lastfile, cwd): Fix `unused' warning. * dwarf2out.c (fde_table_in_use, current_funcdef_fde, dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset, is_main_source, file_table, decl_die_table_in_use, abbrev_die_table_in_use, line_info_table_in_use, separate_line_info_table_in_use, pubname_table_in_use, arange_table_in_use, ranges_table_in_use, current_function_has_inlines): Likewise. * flow.c (life_analysis): Likewise. * genemit.c (gen_insn): Likewise. * protoize.c (cplus_suffix): Likewise. From-SVN: r61392
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 7046290..81f1be1 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -416,8 +416,8 @@ life_analysis (f, file, flags)
FILE *file;
int flags;
{
- int i;
#ifdef ELIMINABLE_REGS
+ int i;
static const struct {const int from, to; } eliminables[] = ELIMINABLE_REGS;
#endif
@@ -436,8 +436,11 @@ life_analysis (f, file, flags)
#ifdef CANNOT_CHANGE_MODE_CLASS
if (flags & PROP_REG_INFO)
- for (i=0; i < NUM_MACHINE_MODES; ++i)
- INIT_REG_SET (&subregs_of_mode[i]);
+ {
+ int j;
+ for (j=0; j < NUM_MACHINE_MODES; ++j)
+ INIT_REG_SET (&subregs_of_mode[j]);
+ }
#endif
if (! optimize)