diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-01-19 21:02:53 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-01-19 21:02:53 +0000 |
commit | 04d38c3bc120922088eb3c437c060a04ea255e3f (patch) | |
tree | b8a32ad3fef771d064df14a90f04dbb42900366d /gcc/tree-cfg.c | |
parent | cb884961a4767b857099b09ca01a802218623a21 (diff) | |
download | gcc-04d38c3bc120922088eb3c437c060a04ea255e3f.zip gcc-04d38c3bc120922088eb3c437c060a04ea255e3f.tar.gz gcc-04d38c3bc120922088eb3c437c060a04ea255e3f.tar.bz2 |
tree-cfg.c (remove_forwarder_block): Fix the check to prevent a nonlocal label from appearing in the middle of a...
* tree-cfg.c (remove_forwarder_block): Fix the check to
prevent a nonlocal label from appearing in the middle of a
basic block.
From-SVN: r93917
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index d360719..ee5842c 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3973,7 +3973,7 @@ remove_forwarder_block (basic_block bb, basic_block **worklist) /* If the destination block consists of an nonlocal label, do not merge it. */ - label = first_stmt (bb); + label = first_stmt (dest); if (label && TREE_CODE (label) == LABEL_EXPR && DECL_NONLOCAL (LABEL_EXPR_LABEL (label))) |