re PR rtl-optimization/85638 (build failure for Ada runtime with SJLJ exceptions...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 9 May 2018 07:58:29 +0000 (07:58 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 9 May 2018 07:58:29 +0000 (07:58 +0000)
commit40305631b576518d78e494175ba96f87f6f0a4e9
tree0a26d79e9a2f6e7bd6947b459f97d550ea94d526
parent655b16da125b1210096b2f394ba0f222631fb44b
re PR rtl-optimization/85638 (build failure for Ada runtime with SJLJ exceptions on x86)

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.

From-SVN: r260070
gcc/ChangeLog
gcc/bb-reorder.c