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
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue