re PR rtl-optimization/88470 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2354)
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Dec 2018 23:33:57 +0000 (00:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Dec 2018 23:33:57 +0000 (00:33 +0100)
commitb532a7859f749a302748214a75d565a8f7b90358
tree33c7c59992c9696d1428e3caafe762ef59ddb454
parent6bb4268527df596e72a964f94873162b595fb483
re PR rtl-optimization/88470 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2354)

PR rtl-optimization/88470
* cfgcleanup.c (outgoing_edges_match): If the function is
shrink-wrapped and bb1 ends with a JUMP_INSN with a single fake
edge to EXIT, return false.

* gcc.target/i386/pr88470.c: New test.

From-SVN: r267112
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88470.c [new file with mode: 0644]