projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63f075
)
(delete_output_reload): Don't use delete_insn when deleting all stores
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 28 Oct 1996 19:07:47 +0000
(14:07 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 28 Oct 1996 19:07:47 +0000
(14:07 -0500)
into a replaced pseudo.
From-SVN: r13052
gcc/reload1.c
patch
|
blob
|
history
diff --git
a/gcc/reload1.c
b/gcc/reload1.c
index
48359ba
..
a5ab862
100644
(file)
--- a/
gcc/reload1.c
+++ b/
gcc/reload1.c
@@
-7039,7
+7039,13
@@
delete_output_reload (insn, j, output_reload_insn)
rtx set = single_set (i2);
if (set != 0 && SET_DEST (set) == reg)
- delete_insn (i2);
+ {
+ /* This might be a basic block head,
+ thus don't use delete_insn. */
+ PUT_CODE (i2, NOTE);
+ NOTE_SOURCE_FILE (i2) = 0;
+ NOTE_LINE_NUMBER (i2) = NOTE_INSN_DELETED;
+ }
if (GET_CODE (i2) == CODE_LABEL
|| GET_CODE (i2) == JUMP_INSN)
break;