mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 15:40:55 +08:00
re PR target/46428 (moxie-elf --enable-werror-always build fails)
PR target/46428 * config/moxie/moxie.c (moxie_expand_prologue): Remove unused variables. * config/moxie/moxie.h (HARD_REGNO_OK_FOR_BASE_P): Use unsigned comparison. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r166664
This commit is contained in:
parent
02809efdd6
commit
a8ea94841c
@ -1,3 +1,11 @@
|
||||
2010-11-12 Joern Rennecke <amylaar@spamcop.net>
|
||||
Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR target/46428
|
||||
* config/moxie/moxie.c (moxie_expand_prologue): Remove unused variables.
|
||||
* config/moxie/moxie.h (HARD_REGNO_OK_FOR_BASE_P): Use unsigned
|
||||
comparison.
|
||||
|
||||
2010-11-12 Pat Haugen <pthaugen@us.ibm.com>
|
||||
|
||||
* opts-common.c (decode_cmdline_option): Initialize separate_args.
|
||||
|
@ -317,7 +317,7 @@ void
|
||||
moxie_expand_epilogue (void)
|
||||
{
|
||||
int regno;
|
||||
rtx insn, reg, cfa_restores = NULL;
|
||||
rtx reg;
|
||||
|
||||
if (cfun->machine->callee_saved_reg_size != 0)
|
||||
{
|
||||
@ -340,7 +340,7 @@ moxie_expand_epilogue (void)
|
||||
&& df_regs_ever_live_p (regno))
|
||||
{
|
||||
rtx preg = gen_rtx_REG (Pmode, regno);
|
||||
insn = emit_insn (gen_movsi_pop (reg, preg));
|
||||
emit_insn (gen_movsi_pop (reg, preg));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -405,7 +405,7 @@ enum reg_class
|
||||
#define INDEX_REG_CLASS NO_REGS
|
||||
|
||||
#define HARD_REGNO_OK_FOR_BASE_P(NUM) \
|
||||
((NUM) >= 0 && (NUM) < FIRST_PSEUDO_REGISTER \
|
||||
((unsigned) (NUM) < FIRST_PSEUDO_REGISTER \
|
||||
&& (REGNO_REG_CLASS(NUM) == GENERAL_REGS \
|
||||
|| (NUM) == HARD_FRAME_POINTER_REGNUM))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user