re PR rtl-optimization/79125 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2661 (error...
authorBernd Schmidt <bernds@redhat.com>
Sat, 21 Jan 2017 07:23:47 +0000 (00:23 -0700)
committerJeff Law <law@gcc.gnu.org>
Sat, 21 Jan 2017 07:23:47 +0000 (00:23 -0700)
commitea9f867b7b5985b98e9f5c6ff9a2239f3a9e8496
tree6c8e1db98a6dfd5fa2edebb68dae510fd895a9e5
parent80b40b87845bf2293f2bfdd215bbf758db5ceff4
re PR rtl-optimization/79125 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2661 (error: flow control insn inside a basic block))

2017-01-21  Bernd Schmidt  <bschmidt@redhat.com>

rtl-optimization/79125
* cprop.c (local_cprop_pass): Handle cases where we make an
unconditional trap.

PR rtl-optimization/79125
* gcc.dg/torture/pr79125.c: New test.

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