(record_label_references): Don't follow a null label reference chain.
From-SVN: r5429
This commit is contained in:
parent
a05afb9511
commit
9f5cad0582
|
@ -406,7 +406,9 @@ record_label_references (insn, pat)
|
|||
|
||||
/* Don't make a duplicate in the code_label's chain. */
|
||||
|
||||
for (ref = LABEL_REFS (label); ref != label; ref = LABEL_NEXTREF (ref))
|
||||
for (ref = LABEL_REFS (label);
|
||||
ref && ref != label;
|
||||
ref = LABEL_NEXTREF (ref))
|
||||
if (CONTAINING_INSN (ref) == insn)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue