summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 11010e21738..1636337281e 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -7744,8 +7744,8 @@ delete_address_reloads (dead_insn, current_insn)
|| (INTVAL (XEXP (SET_SRC (set), 1))
!= -INTVAL (XEXP (SET_SRC (set2), 1))))
return;
- delete_insn (prev);
- delete_insn (next);
+ delete_related_insns (prev);
+ delete_related_insns (next);
}
/* Subfunction of delete_address_reloads: process registers found in X. */
@@ -9519,7 +9519,7 @@ fixup_abnormal_edges ()
if (INSN_P (insn))
{
insert_insn_on_edge (PATTERN (insn), e);
- flow_delete_insn (insn);
+ delete_insn (insn);
}
insn = next;
}