+Thu Mar 11 20:37:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * reload.1c (delete_address_reloads_1): Check for reloads of
+ CURRENT_INSN even if it sets DST.
+
Thu Mar 11 10:29:50 1999 Jason Merrill <jason@yorick.cygnus.com>
* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
}
if (GET_CODE (i2) == JUMP_INSN)
break;
- if (reg_set_p (dst, PATTERN (i2)))
- break;
/* If DST is still live at CURRENT_INSN, check if it is used for
- any reload. */
+ any reload. Note that even if CURRENT_INSN sets DST, we still
+ have to check the reloads. */
if (i2 == current_insn)
{
for (j = n_reloads - 1; j >= 0; j--)
spill_hard_reg. There is no easy way to tell this, so we
have to scan till the end of the basic block. */
}
+ if (reg_set_p (dst, PATTERN (i2)))
+ break;
}
}
delete_address_reloads_1 (prev, SET_SRC (set), current_insn);