Remove a barrier when EDGE_CROSSING is removed (PR lto/88858).
authorMartin Liska <mliska@suse.cz>
Wed, 13 Feb 2019 06:57:38 +0000 (07:57 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Feb 2019 06:57:38 +0000 (06:57 +0000)
commit91c50487de75a5275e2e8c2e1cd4b10f3a59b7df
tree36713c68c860fd8f4790d7bedf8f020b1709bd9c
parentd60a02c80d3b8b6295f31c7c05a03a7c9d16f5d6
Remove a barrier when EDGE_CROSSING is removed (PR lto/88858).

2019-02-13  Martin Liska  <mliska@suse.cz>

PR lto/88858
* cfgrtl.c (remove_barriers_from_footer): New function.
(try_redirect_by_replacing_jump): Use it.
(cfg_layout_redirect_edge_and_branch): Likewise.

From-SVN: r268835
gcc/ChangeLog
gcc/cfgrtl.c