re PR rtl-optimization/78626 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error...
authorBernd Schmidt <bernds@redhat.com>
Sat, 14 Jan 2017 16:52:18 +0000 (09:52 -0700)
committerJeff Law <law@gcc.gnu.org>
Sat, 14 Jan 2017 16:52:18 +0000 (09:52 -0700)
commit90aead2189d5af665c4d7616ea39b8aa7c2d98ce
treeeaeedf40a4f149f49411c00916e82e192d0f2dcd
parentafaecc23b57e1d6827f071a4d560ca57770b2e25
re PR rtl-optimization/78626 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block))

PR rtl-optimization/78626
PR rtl-optimization/78727
* cprop.c (one_cprop_pass): Collect unconditional traps in the middle
of a block, and split such blocks after everything else is finished.

        PR rtl-optimization/78626
        PR rtl-optimization/78727
* gcc.dg/torture/pr78626.c: New test.
* gcc.dg/torture/pr78727.c: New test.

From-SVN: r244467
gcc/ChangeLog
gcc/cprop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr78626.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr78727.c [new file with mode: 0644]