===================================================================
@@ -590,7 +590,7 @@ lra_hard_reg_substitution (void)
if (GET_CODE (op) == SUBREG && REG_P (SUBREG_REG (op)))
{
lra_assert (REGNO (SUBREG_REG (op)) < FIRST_PSEUDO_REGISTER);
- alter_subreg (id->operand_loc[i], true);
+ alter_subreg (id->operand_loc[i], ! DEBUG_INSN_P (insn));
lra_update_dup (id, i);
insn_change_p = true;
}
===================================================================
@@ -4255,7 +4255,7 @@ update_ebb_live_info (rtx head, rtx tail
curr_insn = prev_insn)
{
prev_insn = PREV_INSN (curr_insn);
- if (! NONDEBUG_INSN_P (curr_insn))
+ if (! INSN_P (curr_insn))
continue;
curr_bb = BLOCK_FOR_INSN (curr_insn);
if (curr_bb != prev_bb)
@@ -4291,6 +4291,8 @@ update_ebb_live_info (rtx head, rtx tail
prev_bb = curr_bb;
bitmap_and (&live_regs, &check_only_regs, DF_LR_OUT (curr_bb));
}
+ if (DEBUG_INSN_P (curr_insn))
+ continue;
curr_id = lra_get_insn_recog_data (curr_insn);
remove_p = false;
if ((set = single_set (curr_insn)) != NULL_RTX && REG_P (SET_DEST (set))