From e5eac8efac636afeb0bef8df817cd7d8b54445f4 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 21 Sep 2001 18:21:04 -0700 Subject: [PATCH] reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED. * reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED. From-SVN: r45740 --- gcc/ChangeLog | 5 +++++ gcc/reload1.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be9aee1122f..5258cecc3d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-09-21 Richard Henderson + + * reload1.c (reload): Use delete_insn instead of splatting + NOTE_INSN_DELETED. + 2001-09-21 Richard Henderson * reload.c (push_secondary_reload): Don't check for "=" in output diff --git a/gcc/reload1.c b/gcc/reload1.c index 1636337281e..9ba07355a8b 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1188,9 +1188,7 @@ reload (first, global) && (GET_CODE (XEXP (PATTERN (insn), 0)) != REG || ! REG_FUNCTION_VALUE_P (XEXP (PATTERN (insn), 0))))) { - PUT_CODE (insn, NOTE); - NOTE_SOURCE_FILE (insn) = 0; - NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED; + delete_insn (insn); continue; } -- 2.30.2