[Bug rtl-optimization/69032] [5 Regression] ICE: in cfg_preds_1, at sel-sched-ir.c:4809 with -fsched-pressure -fsel-sched-pipelining -fselective-scheduling

abel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 31 14:02:00 GMT 2016


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

--- Comment #4 from Andrey Belevantsev <abel at gcc dot gnu.org> ---
Author: abel
Date: Thu Mar 31 14:01:22 2016
New Revision: 234624

URL: https://gcc.gnu.org/viewcvs?rev=234624&root=gcc&view=rev
Log:
        Backport from mainline
        2016-03-15  Andrey Belevantsev  <abel@ispras.ru>

        gcc/
        PR rtl-optimization/69032
        * sel-sched-ir.c (get_seqno_by_preds): Include both insn and head when
        looping backwards over basic block insns.

        testsuite/
        PR rtl-optimization/69032
        * gcc.dg/pr69032.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69032.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/sel-sched-ir.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list