re PR rtl-optimization/71916 (ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_...
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Jul 2016 19:54:49 +0000 (21:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 19 Jul 2016 19:54:49 +0000 (21:54 +0200)
commit4833f5615ea56f73106ca8537d0a8b50463fd164
tree3fcdda9cdcfd24e854b323303660ef54e6b9ea7e
parentf36a3ff7f79ee4c039716557cb6205c5a3ae1924
re PR rtl-optimization/71916 (ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start")

PR rtl-optimization/71916
* cfgrtl.c (contains_no_active_insn_p): Return false also for
bb which have a single succ fake edge.

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

From-SVN: r238490
gcc/ChangeLog
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr71916.c [new file with mode: 0644]