(find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list.
From-SVN: r2606
This commit is contained in:
parent
c2d7c918c7
commit
37548fa3f3
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user