https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79499

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Sep 16 18:35:03 2017
New Revision: 252881

URL: https://gcc.gnu.org/viewcvs?rev=252881&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-5-branch/gcc/testsuite/gcc.dg/pr79499.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr81766.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/function.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to