(find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list.

From-SVN: r2606
This commit is contained in:
Richard Stallman 1992-10-26 05:29:12 +00:00
parent c2d7c918c7
commit 37548fa3f3
1 changed files with 4 additions and 2 deletions

View File

@ -476,11 +476,13 @@ find_basic_blocks (f, nonlocal_label_list)
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;
for (x = label_value_list; x; x = XEXP (x, 1))
block_live[BLOCK_NUM (XEXP (x, 0))] = 1;
if (! LABEL_REF_NONLOCAL_P (x))
block_live[BLOCK_NUM (XEXP (x, 0))] = 1;
}
/* Record which basic blocks control can drop in to. */