PR rtl-optimization/85638
commit236838836b83f03ae0ed873ddb3ff42d33eea85e
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 07:58:29 +0000 (9 07:58 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 07:58:29 +0000 (9 07:58 +0000)
tree0a26d79e9a2f6e7bd6947b459f97d550ea94d526
parent09d66f495520860fb1a02a671eb02b246e6bc42b
PR rtl-optimization/85638
* bb-reorder.c: Include common/common-target.h.
(create_forwarder_block): New function extracted from...
(fix_up_crossing_landing_pad): ...here.  Rename into...
(dw2_fix_up_crossing_landing_pad): ...this.
(sjlj_fix_up_crossing_landing_pad): New function.
(find_rarely_executed_basic_blocks_and_crossing_edges): In SJLJ mode,
call sjlj_fix_up_crossing_landing_pad if there are incoming EH edges
from both partitions and exit the loop after one iteration.

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