Commit 9f5cad05 by James Van Artsdalen

(record_label_references): Don't follow a null label reference chain.

From-SVN: r5429
parent a05afb95
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment