diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-28 13:01:41 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-28 13:01:41 +0000 |
commit | 06786d0d6d646c796d32db01c7ab7e96b38f5ab6 (patch) | |
tree | fcfa9d6d66c718191ab999fbc66e7dd5f6db4cc4 /gcc/cse.c | |
parent | 1fdf6039a543331eeabe2198b36e89fd0a3bd06d (diff) | |
download | ppe42-gcc-06786d0d6d646c796d32db01c7ab7e96b38f5ab6.tar.gz ppe42-gcc-06786d0d6d646c796d32db01c7ab7e96b38f5ab6.zip |
* 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/cse.c')
-rw-r--r-- | gcc/cse.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 00019c2cd5c..496bea092bf 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -5763,11 +5763,7 @@ cse_insn (insn, libcall_insn) else if (n_sets == 1 && dest == pc_rtx && src == pc_rtx) { /* One less use of the label this insn used to jump to. */ - if (JUMP_LABEL (insn) != 0) - --LABEL_NUSES (JUMP_LABEL (insn)); - PUT_CODE (insn, NOTE); - NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED; - NOTE_SOURCE_FILE (insn) = 0; + delete_insn (insn); cse_jumps_altered = 1; /* No more processing for this set. */ sets[i].rtl = 0; @@ -6310,11 +6306,7 @@ cse_insn (insn, libcall_insn) && (tem = single_set (prev_insn)) != 0 && SET_DEST (tem) == cc0_rtx && ! reg_mentioned_p (cc0_rtx, x)) - { - PUT_CODE (prev_insn, NOTE); - NOTE_LINE_NUMBER (prev_insn) = NOTE_INSN_DELETED; - NOTE_SOURCE_FILE (prev_insn) = 0; - } + delete-insn (prev_insn); prev_insn_cc0 = this_insn_cc0; prev_insn_cc0_mode = this_insn_cc0_mode; |