diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-07-01 14:41:40 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-07-01 14:41:40 +0000 |
commit | 096f6ffff6e8dd22089d6b05d58e9d7cd11e20e2 (patch) | |
tree | 9edb6deeea5789408f669cb9b8c2929da0ad2142 /gcc/config/sh/sh.md | |
parent | bdc4eadb9eba888c87df917d4447cf4f91d61ce2 (diff) |
* config/sh/sh.c (sh_va_arg): Initinalize lab_over.sh-elf-3_5-branch
* config/sh/sh.h (CONST_OK_FOR_J16): Use parentheses.
(MODE_AFTER): Add cast appropriately.
* config/sh/sh.md (movdi splitter): Likewise.
(casesi_worker_2): Add const qualifier appropriately.
(eh_return): Remove unused variable.
(insv): Initialize v;
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/sh-elf-3_5-branch@83984 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r-- | gcc/config/sh/sh.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index d8ea00ca77a..d96227bc938 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -4048,7 +4048,8 @@ } /* Try movi / mshflo.l */ val2 = (HOST_WIDE_INT) val >> 32; - if (val2 == trunc_int_for_mode (val, SImode)) + if (val2 == ((unsigned HOST_WIDE_INT) + trunc_int_for_mode (val, SImode))) { operands[1] = gen_mshflo_l_di (operands[0], operands[0], operands[0]); @@ -7151,7 +7152,7 @@ mov.l\\t1f,r0\\n\\ "* { rtx diff_vec = PATTERN (next_real_insn (operands[2])); - char *load; + const char *load; if (GET_CODE (diff_vec) != ADDR_DIFF_VEC) abort (); @@ -7395,7 +7396,7 @@ mov.l\\t1f,r0\\n\\ [(use (match_operand 0 "register_operand" ""))] "" { - rtx tmp, ra = operands[0]; + rtx ra = operands[0]; if (TARGET_SHMEDIA64) emit_insn (gen_eh_set_ra_di (ra)); @@ -9238,7 +9239,7 @@ mov.l\\t1f,r0\\n\\ " { rtx addr_target, orig_address, shift_reg, qi_val; - HOST_WIDE_INT bitsize, size, v; + HOST_WIDE_INT bitsize, size, v = 0; rtx x = operands[3]; /* ??? expmed doesn't care for non-register predicates. */ |