PR rtl/84058
commitec7963440d152449e2b063d5dcc994f0dda4a4b3
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Apr 2018 16:33:51 +0000 (9 16:33 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Apr 2018 16:33:51 +0000 (9 16:33 +0000)
treedce4694dfb3079937dc98a9e1ac671479324509d
parent14dd004ec106bec20c5bbc2abedd6096d9f05a8f
PR rtl/84058
* cfgcleanup.c (try_forward_edges): Do not give up on crossing
jumps; choose last target that matches the criteria (i.e.
no partition changes for non-crossing jumps).
* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Add basic
support for redirecting crossing jumps to non-crossing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259244 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfgrtl.c