* flow.c (delete_noop_moves): Do not confuse libcall regions.
From-SVN: r44290
This commit is contained in:
parent
016c22b5b4
commit
8f54d2fffd
@ -1,3 +1,7 @@
|
||||
Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* flow.c (delete_noop_moves): Do not confuse libcall regions.
|
||||
|
||||
2001-07-23 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
|
||||
|
@ -4327,9 +4327,11 @@ delete_noop_moves (f)
|
||||
next = NEXT_INSN (insn);
|
||||
if (INSN_P (insn) && noop_move_p (insn))
|
||||
{
|
||||
if (insn == bb->end)
|
||||
bb->end = PREV_INSN (insn);
|
||||
flow_delete_insn (insn);
|
||||
/* Do not call flow_delete_insn here to not confuse backward
|
||||
pointers of LIBCALL block. */
|
||||
PUT_CODE (insn, NOTE);
|
||||
NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED;
|
||||
NOTE_SOURCE_FILE (insn) = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user