https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Sep 15 21:32:05 2017 New Revision: 252854 URL: https://gcc.gnu.org/viewcvs?rev=252854&root=gcc&view=rev Log: Backported from mainline 2017-08-08 Richard Biener <rguent...@suse.de> PR middle-end/81766 * function.c (thread_prologue_and_epilogue_insns): Restore behavior of always calling find_many_sub_basic_blocks on the inserted prologue. * gcc.target/i386/pr81766.c: New testcase. 2017-08-02 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr79499.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr81766.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/function.c branches/gcc-6-branch/gcc/testsuite/ChangeLog