From 37548fa3f38cafca60e654671cec44c2ae93283b Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 26 Oct 1992 05:29:12 +0000 Subject: [PATCH] (find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list. From-SVN: r2606 --- gcc/flow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/flow.c b/gcc/flow.c index 3e6f58d673c..c2f94c96b32 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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. */