diff options
author | Jan van Male <jan.vanmale@fenk.wau.nl> | 2001-08-08 22:32:31 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2001-08-08 22:32:31 +0200 |
commit | b9f2270425b565e5764f18185aa2b8850e028622 (patch) | |
tree | 14c8e489d6e8d46e8959175feeaa96a9151c0247 /gcc/final.c | |
parent | a4b07e7ff898a61497d248c67d6540cd7067305b (diff) | |
download | gcc-b9f2270425b565e5764f18185aa2b8850e028622.zip gcc-b9f2270425b565e5764f18185aa2b8850e028622.tar.gz gcc-b9f2270425b565e5764f18185aa2b8850e028622.tar.bz2 |
emit-rtl.c (adjust_address, [...]): Cast offset to unsigned HOST_WIDE_INT to avoid warning.
2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
* emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
unsigned HOST_WIDE_INT to avoid warning.
* final.c (final): Cast INSN_UID to unsigned to avoid warning.
* flow.c (set_block_for_new_insns): Likewise.
From-SVN: r44724
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/final.c b/gcc/final.c index ce5f1d9..d322481 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -526,7 +526,7 @@ end_final (filename) } /* Default target function prologue and epilogue assembler output. - + If not overridden for epilogue code, then the function body itself contains return instructions wherever needed. */ void @@ -918,7 +918,7 @@ insn_current_reference_address (branch) return insn_current_address; dest = JUMP_LABEL (branch); - /* BRANCH has no proper alignment chain set, so use SEQ. + /* BRANCH has no proper alignment chain set, so use SEQ. BRANCH also has no INSN_SHUID. */ if (INSN_SHUID (seq) < INSN_SHUID (dest)) { @@ -1938,7 +1938,7 @@ final (first, file, optimize, prescan) for (insn = NEXT_INSN (first); insn;) { #ifdef HAVE_ATTR_length - if (INSN_UID (insn) >= INSN_ADDRESSES_SIZE ()) + if ((unsigned) INSN_UID (insn) >= INSN_ADDRESSES_SIZE ()) { #ifdef STACK_REGS /* Irritatingly, the reg-stack pass is creating new instructions @@ -2057,12 +2057,12 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) break; case NOTE_INSN_PROLOGUE_END: - (*targetm.asm_out.function_end_prologue) (file); + (*targetm.asm_out.function_end_prologue) (file); profile_after_prologue (file); break; case NOTE_INSN_EPILOGUE_BEG: - (*targetm.asm_out.function_begin_epilogue) (file); + (*targetm.asm_out.function_begin_epilogue) (file); break; case NOTE_INSN_FUNCTION_BEG: @@ -2749,7 +2749,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) print_rtl_single (asm_out_file, insn); print_rtx_head = ""; } - + if (! constrain_operands_cached (1)) fatal_insn_not_found (insn); |