[Bug middle-end/79499] ICE in rtl_verify_bb_insns, at cfgrtl.c:2661

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 16 18:35:00 GMT 2017


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  <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-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


More information about the Gcc-bugs mailing list