Commit 04d38c3b by Kazu Hirata Committed by Kazu Hirata

tree-cfg.c (remove_forwarder_block): Fix the check to prevent a nonlocal label…

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
parent cb884961
2005-01-19 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (remove_forwarder_block): Fix the check to
prevent a nonlocal label from appearing in the middle of a
basic block.
2005-01-19 Hans-Peter Nilsson <hp@axis.com> 2005-01-19 Hans-Peter Nilsson <hp@axis.com>
PR rtl-optimization/19462 PR rtl-optimization/19462
......
...@@ -3973,7 +3973,7 @@ remove_forwarder_block (basic_block bb, basic_block **worklist) ...@@ -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 /* If the destination block consists of an nonlocal label, do not merge
it. */ it. */
label = first_stmt (bb); label = first_stmt (dest);
if (label if (label
&& TREE_CODE (label) == LABEL_EXPR && TREE_CODE (label) == LABEL_EXPR
&& DECL_NONLOCAL (LABEL_EXPR_LABEL (label))) && DECL_NONLOCAL (LABEL_EXPR_LABEL (label)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment