2014-08-21 David Malcolm <dmalcolm@redhat.com>
+ * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
+ rtx_insn *.
+ (get_uncond_jump_length): Likewise for locals "label", "jump".
+ (fix_up_crossing_landing_pad): Likewise for locals "new_label",
+ "jump", "insn".
+ (add_labels_and_missing_jumps): Likewise for local "new_jump".
+ (fix_up_fall_thru_edges): Likewise for local "old_jump".
+ (find_jump_block): Likewise for local "insn".
+ (fix_crossing_conditional_branches): Likewise for locals
+ "old_jump", "new_jump".
+ (fix_crossing_unconditional_branches): Likewise for locals
+ "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
+ (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
+
+2014-08-21 David Malcolm <dmalcolm@redhat.com>
+
* auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
rtx to rtx_insn *.
(struct mem_insn): Likewise for field "insn".
{
int size = 0;
int max_size = uncond_jump_length;
- rtx insn;
+ rtx_insn *insn;
if (!bb->frequency)
return false;
int
get_uncond_jump_length (void)
{
- rtx label, jump;
+ rtx_insn *label, *jump;
int length;
label = emit_label_before (gen_label_rtx (), get_insns ());
{
eh_landing_pad new_lp;
basic_block new_bb, last_bb, post_bb;
- rtx new_label, jump, post_label;
+ rtx_insn *new_label, *jump;
+ rtx post_label;
unsigned new_partition;
edge_iterator ei;
edge e;
for (ei = ei_start (old_bb->preds); (e = ei_safe_edge (ei)) != NULL; )
if (BB_PARTITION (e->src) == new_partition)
{
- rtx insn = BB_END (e->src);
+ rtx_insn *insn = BB_END (e->src);
rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
gcc_assert (note != NULL);
{
basic_block src = e->src;
basic_block dest = e->dest;
- rtx label, new_jump;
+ rtx label;
+ rtx_insn *new_jump;
if (dest == EXIT_BLOCK_PTR_FOR_FN (cfun))
continue;
edge e;
bool cond_jump_crosses;
int invert_worked;
- rtx old_jump;
+ rtx_insn *old_jump;
rtx fall_thru_label;
FOR_EACH_BB_FN (cur_bb, cfun)
{
basic_block source_bb = NULL;
edge e;
- rtx insn;
+ rtx_insn *insn;
edge_iterator ei;
FOR_EACH_EDGE (e, ei, jump_dest->preds)
edge succ2;
edge crossing_edge;
edge new_edge;
- rtx old_jump;
+ rtx_insn *old_jump;
rtx set_src;
rtx old_label = NULL_RTX;
rtx new_label;
else
{
basic_block last_bb;
- rtx new_jump;
+ rtx_insn *new_jump;
/* Create new basic block to be dest for
conditional jump. */
fix_crossing_unconditional_branches (void)
{
basic_block cur_bb;
- rtx last_insn;
+ rtx_insn *last_insn;
rtx label;
rtx label_addr;
- rtx indirect_jump_sequence;
- rtx jump_insn = NULL_RTX;
+ rtx_insn *indirect_jump_sequence;
+ rtx_insn *jump_insn = NULL;
rtx new_reg;
- rtx cur_insn;
+ rtx_insn *cur_insn;
edge succ;
FOR_EACH_BB_FN (cur_bb, cfun)
mark it in the candidates. */
FOR_EACH_BB_FN (bb, fun)
{
- rtx insn;
+ rtx_insn *insn;
edge e;
edge_iterator ei;
int size, all_flags;