Index: arm.c =================================================================== --- arm.c (revision 142836) +++ arm.c (revision 142837) @@ -7001,6 +7001,8 @@ though could be easily extended if required. */ gcc_assert (nops >= 2 && nops <= 4); + memset (order, 0, 4 * sizeof (int)); + /* Loop over the operands and check that the memory references are suitable (i.e. immediate offsets from the same base register). At the same time, extract the target register, and the memory @@ -7228,6 +7230,8 @@ extended if required. */ gcc_assert (nops >= 2 && nops <= 4); + memset (order, 0, 4 * sizeof (int)); + /* Loop over the operands and check that the memory references are suitable (i.e. immediate offsets from the same base register). At the same time, extract the target register, and the memory @@ -9986,7 +9990,7 @@ if (code0 == REG) { - int reg0 = REGNO (operands[0]); + unsigned int reg0 = REGNO (operands[0]); otherops[0] = gen_rtx_REG (SImode, 1 + reg0); @@ -11661,7 +11665,7 @@ (where frame pointer is required to point at first register) and ARM-non-apcs-frame. Therefore, such change is postponed until real need arise. */ - HOST_WIDE_INT amount; + unsigned HOST_WIDE_INT amount; int rfe; /* Restore stack pointer if necessary. */ if (TARGET_ARM && frame_pointer_needed) @@ -12653,11 +12657,11 @@ insn = emit_set_insn (gen_rtx_REG (SImode, 3), ip_rtx); else if (args_to_push == 0) { + rtx dwarf; + gcc_assert(arm_compute_static_chain_stack_bytes() == 4); saved_regs += 4; - rtx dwarf; - insn = gen_rtx_PRE_DEC (SImode, stack_pointer_rtx); insn = emit_set_insn (gen_frame_mem (SImode, insn), ip_rtx); fp_offset = 4;