aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-26 05:29:12 +0000
committerRichard Stallman <rms@gnu.org>1992-10-26 05:29:12 +0000
commit37548fa3f38cafca60e654671cec44c2ae93283b (patch)
tree403172dfb84e615814a90ed2e802afc7396e5327 /gcc
parentc2d7c918c7e1e6af272f664c26c8ac1a7e785154 (diff)
downloadgcc-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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 3e6f58d..c2f94c9 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. */