diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | 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,5 +1,10 @@ 2001-09-21 Richard Henderson <rth@redhat.com> + * reload1.c (reload): Use delete_insn instead of splatting + NOTE_INSN_DELETED. + +2001-09-21 Richard Henderson <rth@redhat.com> + * reload.c (push_secondary_reload): Don't check for "=" in output constraint after ""->ALL_REGS check. 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; } |

