enum type.
(alpha_rtx_costs): Ditto.
(emit_unlikely_jump): Use add_reg_note.
(emit_frame_store_1): Ditto.
(alpha_expand_prologue): Ditto.
(alpha_expand_builtin): Change 0 to EXPAND_NORMAL in function call.
* config/alpha/alpha.c (Unicos/Mk address splitter): Use add_reg_note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146637
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-04-23 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/alpha/alpha.c (alpha_legitimize_reload_address): Add cast to
+ enum type.
+ (alpha_rtx_costs): Ditto.
+ (emit_unlikely_jump): Use add_reg_note.
+ (emit_frame_store_1): Ditto.
+ (alpha_expand_prologue): Ditto.
+ (alpha_expand_builtin): Change 0 to EXPAND_NORMAL in function call.
+ * config/alpha/alpha.c (Unicos/Mk address splitter): Use add_reg_note.
+
2009-04-23 Nick Clifton <nickc@redhat.com>
* config/v850/v850.md (epilogue): Remove suppressed code.
2009-04-23 Nick Clifton <nickc@redhat.com>
* config/v850/v850.md (epilogue): Remove suppressed code.
* varasm.c: Likewise.
* varray.h: Likewise.
* vec.h: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.
* vec.h: Likewise.
- * coretypes.h: Do not define GTY macro if it is already
- defined.
+ * coretypes.h: Do not define GTY macro if it is already defined.
* doc/gty.texi: Update GTY documentation to new syntax.
* gengtype-lex.l: Enforce attribute-like syntax for GTY
annotations on structs.
* doc/gty.texi: Update GTY documentation to new syntax.
* gengtype-lex.l: Enforce attribute-like syntax for GTY
annotations on structs.
2009-04-22 Mark Heffernan <meheff@google.com>
2009-04-22 Mark Heffernan <meheff@google.com>
- * gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
+ * gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
2009-04-22 Kazu Hirata <kazu@codesourcery.com>
2009-04-22 Kazu Hirata <kazu@codesourcery.com>
2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* Makefile.in: Update dependencies.
2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* Makefile.in: Update dependencies.
- * errors.c (warning): Remove unused parameter 'opt'. Returns
- 'void'.
+ * errors.c (warning): Remove unused parameter 'opt'. Returns 'void'.
* errors.h: Remove bogus comment about compatibility.
(warning): Update declaration.
* genautomata.c: Update all calls to warning.
* errors.h: Remove bogus comment about compatibility.
(warning): Update declaration.
* genautomata.c: Update all calls to warning.
{
push_reload (XEXP (x, 0), NULL_RTX, &XEXP (x, 0), NULL,
BASE_REG_CLASS, GET_MODE (x), VOIDmode, 0, 0,
{
push_reload (XEXP (x, 0), NULL_RTX, &XEXP (x, 0), NULL,
BASE_REG_CLASS, GET_MODE (x), VOIDmode, 0, 0,
+ opnum, (enum reload_type) type);
push_reload (XEXP (x, 0), NULL_RTX, &XEXP (x, 0), NULL,
BASE_REG_CLASS, GET_MODE (x), VOIDmode, 0, 0,
push_reload (XEXP (x, 0), NULL_RTX, &XEXP (x, 0), NULL,
BASE_REG_CLASS, GET_MODE (x), VOIDmode, 0, 0,
+ opnum, (enum reload_type) type);
else if (GET_CODE (XEXP (x, 0)) == MULT
&& const48_operand (XEXP (XEXP (x, 0), 1), VOIDmode))
{
else if (GET_CODE (XEXP (x, 0)) == MULT
&& const48_operand (XEXP (XEXP (x, 0), 1), VOIDmode))
{
- *total = (rtx_cost (XEXP (XEXP (x, 0), 0), outer_code, speed)
- + rtx_cost (XEXP (x, 1), outer_code, speed) + COSTS_N_INSNS (1));
+ *total = (rtx_cost (XEXP (XEXP (x, 0), 0),
+ (enum rtx_code) outer_code, speed)
+ + rtx_cost (XEXP (x, 1),
+ (enum rtx_code) outer_code, speed)
+ + COSTS_N_INSNS (1));
return true;
}
return false;
return true;
}
return false;
x = gen_rtx_IF_THEN_ELSE (VOIDmode, cond, label, pc_rtx);
x = emit_jump_insn (gen_rtx_SET (VOIDmode, pc_rtx, x));
x = gen_rtx_IF_THEN_ELSE (VOIDmode, cond, label, pc_rtx);
x = emit_jump_insn (gen_rtx_SET (VOIDmode, pc_rtx, x));
- REG_NOTES (x) = gen_rtx_EXPR_LIST (REG_BR_PROB, very_unlikely, NULL_RTX);
+ add_reg_note (x, REG_BR_PROB, very_unlikely);
}
/* A subroutine of the atomic operation splitters. Emit a load-locked
}
/* A subroutine of the atomic operation splitters. Emit a load-locked
insn_op = &insn_data[icode].operand[arity + nonvoid];
insn_op = &insn_data[icode].operand[arity + nonvoid];
- op[arity] = expand_expr (arg, NULL_RTX, insn_op->mode, 0);
+ op[arity] = expand_expr (arg, NULL_RTX, insn_op->mode, EXPAND_NORMAL);
if (!(*insn_op->predicate) (op[arity], insn_op->mode))
op[arity] = copy_to_mode_reg (insn_op->mode, op[arity]);
if (!(*insn_op->predicate) (op[arity], insn_op->mode))
op[arity] = copy_to_mode_reg (insn_op->mode, op[arity]);
mem = gen_rtx_MEM (DImode, addr);
}
mem = gen_rtx_MEM (DImode, addr);
}
- REG_NOTES (insn)
- = gen_rtx_EXPR_LIST (REG_FRAME_RELATED_EXPR,
- gen_rtx_SET (VOIDmode, mem, frame_reg),
- REG_NOTES (insn));
+ add_reg_note (insn, REG_FRAME_RELATED_EXPR,
+ gen_rtx_SET (VOIDmode, mem, frame_reg));
possibly intuit through the loop above. So we invent this
note it looks at instead. */
RTX_FRAME_RELATED_P (seq) = 1;
possibly intuit through the loop above. So we invent this
note it looks at instead. */
RTX_FRAME_RELATED_P (seq) = 1;
- REG_NOTES (seq)
- = gen_rtx_EXPR_LIST (REG_FRAME_RELATED_EXPR,
- gen_rtx_SET (VOIDmode, stack_pointer_rtx,
- gen_rtx_PLUS (Pmode, stack_pointer_rtx,
- GEN_INT (TARGET_ABI_UNICOSMK
- ? -frame_size + 64
- : -frame_size))),
- REG_NOTES (seq));
+ add_reg_note (seq, REG_FRAME_RELATED_EXPR,
+ gen_rtx_SET (VOIDmode, stack_pointer_rtx,
+ gen_rtx_PLUS (Pmode, stack_pointer_rtx,
+ GEN_INT (TARGET_ABI_UNICOSMK
+ ? -frame_size + 64
+ : -frame_size))));
}
if (!TARGET_ABI_UNICOSMK)
}
if (!TARGET_ABI_UNICOSMK)
rtx label;
label = XEXP (operands[1], 0);
rtx label;
label = XEXP (operands[1], 0);
- REG_NOTES (insn1) = gen_rtx_EXPR_LIST (REG_LABEL_OPERAND, label,
- REG_NOTES (insn1));
- REG_NOTES (insn2) = gen_rtx_EXPR_LIST (REG_LABEL_OPERAND, label,
- REG_NOTES (insn2));
- REG_NOTES (insn3) = gen_rtx_EXPR_LIST (REG_LABEL_OPERAND, label,
- REG_NOTES (insn3));
+ add_reg_note (insn1, REG_LABEL_OPERAND, label);
+ add_reg_note (insn2, REG_LABEL_OPERAND, label);
+ add_reg_note (insn3, REG_LABEL_OPERAND, label);
LABEL_NUSES (label) += 3;
}
DONE;
LABEL_NUSES (label) += 3;
}
DONE;
2009-04-22 Mark Heffernan <meheff@google.com>
2009-04-22 Mark Heffernan <meheff@google.com>
- * gcc.dg/profile-generate-3.c: New test.
+ * gcc.dg/profile-generate-3.c: New test.
2009-04-22 Jan Hubicka <jh@suse.cz>
2009-04-22 Jan Hubicka <jh@suse.cz>