[Bug target/81766] [8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 21:32:00 GMT 2017


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  <rguenther@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  <jakub@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


More information about the Gcc-bugs mailing list