mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-02 05:40:26 +08:00
(set_dominates_use): In second loop, add check for copy_end.
From-SVN: r13997
This commit is contained in:
parent
516dd80f5c
commit
6b857f0460
@ -3617,6 +3617,10 @@ set_dominates_use (regno, first_uid, last_uid, copy_start, copy_end)
|
||||
can not be sure that FIRST_UID dominates LAST_UID. */
|
||||
if (GET_CODE (p) == CODE_LABEL)
|
||||
return 0;
|
||||
/* Could not find LAST_UID, but we reached the end of the loop, so
|
||||
it must be safe. */
|
||||
else if (p == copy_end)
|
||||
return 1;
|
||||
p = NEXT_INSN (p);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user