+2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * mips.c (function_arg_pass_by_reference): Don't do automatic
+ aggregate initialization.
+ (machine_dependent_reorg): Initialize variable `mode'.
+
+ * mips.md (absdi2): Change variable `regno1' to unsigned int.
+ (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
+ conflicts with sys/param.h macro of the same name.
+ (reload_outdi): Likewise.
+
2000-07-15 Michael Meissner <meissner@redhat.com>
* fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
/* Don't pass the actual CUM to FUNCTION_ARG, because we would
get double copies of any offsets generated for small structs
passed in registers. */
- CUMULATIVE_ARGS temp = *cum;
+ CUMULATIVE_ARGS temp;
+ temp = *cum;
if (FUNCTION_ARG (temp, mode, type, named) != 0)
return 1;
}
&& GET_CODE (PATTERN (insn)) == SET)
{
rtx val, src;
- enum machine_mode mode;
+ enum machine_mode mode = VOIDmode;
val = NULL_RTX;
src = mips_find_symbol (SET_SRC (PATTERN (insn)));
"TARGET_64BIT && !TARGET_MIPS16"
"*
{
- int regno1;
+ unsigned int regno1;
dslots_jump_total++;
dslots_jump_filled++;
operands[2] = const0_rtx;
{
if (GET_CODE (operands[1]) == MEM)
{
- rtx memword, offword, hiword, loword;
+ rtx memword, offword, hi_word, lo_word;
rtx addr = find_replacement (&XEXP (operands[1], 0));
rtx op1 = change_address (operands[1], VOIDmode, addr);
SImode, NULL_RTX);
if (BYTES_BIG_ENDIAN)
{
- hiword = memword;
- loword = offword;
+ hi_word = memword;
+ lo_word = offword;
}
else
{
- hiword = offword;
- loword = memword;
+ hi_word = offword;
+ lo_word = memword;
}
- emit_move_insn (scratch, hiword);
+ emit_move_insn (scratch, hi_word);
emit_move_insn (gen_rtx_REG (SImode, 64), scratch);
- emit_move_insn (scratch, loword);
+ emit_move_insn (scratch, lo_word);
emit_move_insn (gen_rtx (REG, SImode, 65), scratch);
emit_insn (gen_rtx_USE (VOIDmode, operands[0]));
}
{
if (GET_CODE (operands[0]) == MEM)
{
- rtx scratch, memword, offword, hiword, loword;
+ rtx scratch, memword, offword, hi_word, lo_word;
rtx addr = find_replacement (&XEXP (operands[0], 0));
rtx op0 = change_address (operands[0], VOIDmode, addr);
SImode, NULL_RTX);
if (BYTES_BIG_ENDIAN)
{
- hiword = memword;
- loword = offword;
+ hi_word = memword;
+ lo_word = offword;
}
else
{
- hiword = offword;
- loword = memword;
+ hi_word = offword;
+ lo_word = memword;
}
emit_move_insn (scratch, gen_rtx_REG (SImode, 64));
- emit_move_insn (hiword, scratch);
+ emit_move_insn (hi_word, scratch);
emit_move_insn (scratch, gen_rtx_REG (SImode, 65));
- emit_move_insn (loword, scratch);
+ emit_move_insn (lo_word, scratch);
emit_insn (gen_rtx_USE (VOIDmode, operands[1]));
}
else if (TARGET_MIPS16 && ! M16_REG_P (REGNO (operands[0])))