From: Richard Henderson Date: Sat, 22 Sep 2001 01:21:04 +0000 (-0700) Subject: reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5eac8efac636afeb0bef8df817cd7d8b54445f4;p=gcc.git 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 --- 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; }