summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-22 01:21:04 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-22 01:21:04 +0000
commit7b15bb798f77c082528c7cb3a96284cabb499bdc (patch)
tree0d5d39bf5766497e7eaf658176ec958835063624
parent537ba8a951b095468c85c2768a7fa8e313bea2d4 (diff)
downloadppe42-gcc-7b15bb798f77c082528c7cb3a96284cabb499bdc.tar.gz
ppe42-gcc-7b15bb798f77c082528c7cb3a96284cabb499bdc.zip
* reload1.c (reload): Use delete_insn instead of splatting
NOTE_INSN_DELETED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45740 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/reload1.c4
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;
}
OpenPOWER on IntegriCloud