diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-16 15:37:57 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-16 15:37:57 +0000 |
commit | 38ac91bf63ac10b9412e9d352cdf5b68e346a318 (patch) | |
tree | 8e1daad7c2e283ef9a752a13edb569be18027b32 /gcc/flow.c | |
parent | aed1dced6148646b808a87afd044b608c1a67b4c (diff) | |
download | gcc-38ac91bf63ac10b9412e9d352cdf5b68e346a318.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index 7046290bdef..81f1be101cf 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) |