summaryrefslogtreecommitdiff
path: root/gcc/ssa.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-28 13:01:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-28 13:01:41 +0000
commit06786d0d6d646c796d32db01c7ab7e96b38f5ab6 (patch)
treefcfa9d6d66c718191ab999fbc66e7dd5f6db4cc4 /gcc/ssa.c
parent1fdf6039a543331eeabe2198b36e89fd0a3bd06d (diff)
downloadgcc-06786d0d6d646c796d32db01c7ab7e96b38f5ab6.tar.gz
* gcse.c (replace_store_insn): Use delete_insn.
* loop.c (move_movables): Likewise; avoid delete_insn from clobbering notes moved elsewhere. (check_dbra_loop): Use delete_insn. * ssa.c (convert_from_ssa): Likewise. * cse.c (cse_insn): Use delete_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ssa.c')
-rw-r--r--gcc/ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ssa.c b/gcc/ssa.c
index 55aef891cf1..82be6776585 100644
--- a/gcc/ssa.c
+++ b/gcc/ssa.c
@@ -2186,7 +2186,7 @@ convert_from_ssa()
{
if (insn == BLOCK_END (bb))
BLOCK_END (bb) = PREV_INSN (insn);
- insn = delete_related_insns (insn);
+ insn = delete_insn (insn);
}
/* Since all the phi nodes come at the beginning of the
block, if we find an ordinary insn, we can stop looking