re PR middle-end/79499 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2661)
authorJakub Jelinek <jakub@redhat.com>
Wed, 2 Aug 2017 07:13:25 +0000 (09:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 Aug 2017 07:13:25 +0000 (09:13 +0200)
commit349721b7de62e4b30a7ecfd7cb157bfcb73e738d
treeb807873a8846c30e9ba2a91f4ea4c854367f9892
parent04199738b48867d8c1d60e98578340047e3237da
re PR middle-end/79499 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2661)

PR middle-end/79499
* function.c (thread_prologue_and_epilogue_insns): Determine blocks
for find_many_sub_basic_blocks bitmap by looking up BLOCK_FOR_INSN
of first NONDEBUG_INSN_P in each of the split_prologue_seq and
prologue_seq sequences - if any.

* gcc.dg/pr79499.c: New test.

From-SVN: r250814
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr79499.c [new file with mode: 0644]