diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-22 14:51:32 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-22 14:51:32 +0000 |
commit | 3612339f889f1ee7385b52a5ef2b3b7435fba1ca (patch) | |
tree | 8b1e78e7c9911f3b44410182b978347eaa7f85b7 /gcc/ifcvt.c | |
parent | 7a37f969179c9e7e0ef586e5e2940de6f6aa4087 (diff) | |
download | gcc-3612339f889f1ee7385b52a5ef2b3b7435fba1ca.tar.gz |
* jump.c (squeeze_notes): Take parms by reference. Handle END being
a squeezable note.
* rtl.h: Adjust.
* ifcvt.c (dead_or_predicable): Adjust.
* loop.c (find_and_verify_loops): Adjust.
* stmt.c (expand_end_case): Adjust.
* flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
head and end insn pointers in the basic block, not just local copies.
(merge_blocks_move_predecessor_nojumps): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45107 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 2d86424db21..ee6397fe5b8 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -2667,19 +2667,7 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep) if (end == merge_bb->end) merge_bb->end = PREV_INSN (head); - head = squeeze_notes (head, end); - if (GET_CODE (end) == NOTE - && (NOTE_LINE_NUMBER (end) == NOTE_INSN_BLOCK_END - || NOTE_LINE_NUMBER (end) == NOTE_INSN_BLOCK_BEG - || NOTE_LINE_NUMBER (end) == NOTE_INSN_LOOP_BEG - || NOTE_LINE_NUMBER (end) == NOTE_INSN_LOOP_END - || NOTE_LINE_NUMBER (end) == NOTE_INSN_LOOP_CONT - || NOTE_LINE_NUMBER (end) == NOTE_INSN_LOOP_VTOP)) - { - if (head == end) - return TRUE; - end = PREV_INSN (end); - } + squeeze_notes (&head, &end); reorder_insns (head, end, PREV_INSN (earliest)); } |