Commit 37548fa3 by Richard Stallman

(find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list.

From-SVN: r2606
parent c2d7c918
...@@ -476,10 +476,12 @@ find_basic_blocks (f, nonlocal_label_list) ...@@ -476,10 +476,12 @@ find_basic_blocks (f, nonlocal_label_list)
abort (); abort ();
} }
/* Don't delete the labels that are referenced by non-jump instructions. */ /* Don't delete the labels (in this function)
that are referenced by non-jump instructions. */
{ {
register rtx x; register rtx x;
for (x = label_value_list; x; x = XEXP (x, 1)) for (x = label_value_list; x; x = XEXP (x, 1))
if (! LABEL_REF_NONLOCAL_P (x))
block_live[BLOCK_NUM (XEXP (x, 0))] = 1; block_live[BLOCK_NUM (XEXP (x, 0))] = 1;
} }
......
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