re PR rtl-optimization/79386 (ICE: segmentation fault in cprop w/ -O2 on 32-bit BE...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Feb 2017 17:45:57 +0000 (18:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Feb 2017 17:45:57 +0000 (18:45 +0100)
commitec48209a6c124fea6ff7467bd75ae6fbbadd8b0f
tree2e97b42f4bcb11e9680fb7d5113f0f25d40832bc
parent8e956c22739b10884d750239938c1e582d0183a3
re PR rtl-optimization/79386 (ICE: segmentation fault in cprop w/ -O2 on 32-bit BE powerpc)

PR rtl-optimization/79386
* cprop.c (bypass_conditional_jumps): Initialize
bypass_last_basic_block already before splitting bbs after
unconditional traps...
(bypass_conditional_jumps): ... rather than here.

* gcc.c-torture/compile/pr79386.c: New test.

From-SVN: r245251
gcc/ChangeLog
gcc/cprop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr79386.c [new file with mode: 0644]