Commit 4a7ab00c by Jakub Jelinek Committed by Jakub Jelinek

tree-cfg.c (gimple_can_merge_blocks_p): For -O0 don't remove any user labels.

	* tree-cfg.c (gimple_can_merge_blocks_p): For -O0 don't remove
	any user labels.

From-SVN: r181040
parent 5e490f2a
2011-11-06 Jakub Jelinek <jakub@redhat.com>
* tree-cfg.c (gimple_can_merge_blocks_p): For -O0 don't remove
any user labels.
2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/pa/pa.c (pa_hpux_init_libfuncs): Rename to pa_init_libfuncs.
......@@ -1454,8 +1454,8 @@ gimple_can_merge_blocks_p (basic_block a, basic_block b)
break;
lab = gimple_label_label (stmt);
/* Do not remove user forced labels. */
if (!DECL_ARTIFICIAL (lab) && FORCED_LABEL (lab))
/* Do not remove user forced labels or for -O0 any user labels. */
if (!DECL_ARTIFICIAL (lab) && (!optimize || FORCED_LABEL (lab)))
return false;
}
......
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