diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-26 05:29:12 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-26 05:29:12 +0000 |
commit | 37548fa3f38cafca60e654671cec44c2ae93283b (patch) | |
tree | 403172dfb84e615814a90ed2e802afc7396e5327 /gcc | |
parent | c2d7c918c7e1e6af272f664c26c8ac1a7e785154 (diff) | |
download | gcc-37548fa3f38cafca60e654671cec44c2ae93283b.zip gcc-37548fa3f38cafca60e654671cec44c2ae93283b.tar.gz gcc-37548fa3f38cafca60e654671cec44c2ae93283b.tar.bz2 |
(find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list.
From-SVN: r2606
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/flow.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. */ |