diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-25 12:56:39 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-25 12:56:39 +0000 |
commit | 4063e82c82a2048d1a7b28397eba3699ca226d98 (patch) | |
tree | 405d41ea5dc676768af2042609fcb9a3b301d85d /gcc/final.c | |
parent | beb4ed48a3fb8d4a63fb16ad73eaea76a2d846c1 (diff) | |
download | gcc-4063e82c82a2048d1a7b28397eba3699ca226d98.tar.gz |
Warning fixes:
* Makefile.in (recog.o): Depend on toplev.h.
(insn-emit.o): Depend on recog.h.
(insn-peep.o): Depend on recog.h and insn-config.h.
* combine.c (simplify_set): Remove unused variable `scratches'.
* final.c (final_scan_insn): Wrap declaration of variables `vlen'
and `idx' in macro conditional controlling their use.
* genemit.c (main): Make the generated output file include
recog.h. Don't have it declare `insn_operand_constraint', since
we get it from recog.h.
* genpeep.c (main): Make the generated output file include
insn-config.h and recog.h.
* recog.c: Include toplev.h.
(extract_insn): Remove unused variable `p'.
* regclass.c (fix_register): Add missing braces around initializer
for `what_option'.
(allocate_reg_info): Move variable `i' into the scope where it is
used. Change its type to `size_t'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c index cb779497a83..5b7874e7587 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -2425,7 +2425,9 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) if (GET_CODE (body) == ADDR_VEC || GET_CODE (body) == ADDR_DIFF_VEC) { +#if !(defined(ASM_OUTPUT_ADDR_VEC) || defined(ASM_OUTPUT_ADDR_DIFF_VEC)) register int vlen, idx; +#endif if (prescan > 0) break; |