https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88470
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 8 10:20:17 2019 New Revision: 267707 URL: https://gcc.gnu.org/viewcvs?rev=267707&root=gcc&view=rev Log: Backported from mainline 2018-12-13 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr88470.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/cfgcleanup.c branches/gcc-8-branch/gcc/testsuite/ChangeLog