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; }