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
This commit is contained in:
parent
5e490f2a35
commit
4a7ab00c25
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
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.
|
* 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;
|
break;
|
||||||
lab = gimple_label_label (stmt);
|
lab = gimple_label_label (stmt);
|
||||||
|
|
||||||
/* Do not remove user forced labels. */
|
/* Do not remove user forced labels or for -O0 any user labels. */
|
||||||
if (!DECL_ARTIFICIAL (lab) && FORCED_LABEL (lab))
|
if (!DECL_ARTIFICIAL (lab) && (!optimize || FORCED_LABEL (lab)))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue