[Bug middle-end/80422] [7 Regression] ICE on valid code at -O3 in 32-bit mode on x86_64-linux-gnu: in operator[], at vec.h:732

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 18 17:32:00 GMT 2017


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

--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Apr 18 17:31:30 2017
New Revision: 246975

URL: https://gcc.gnu.org/viewcvs?rev=246975&root=gcc&view=rev
Log:
        PR middle-end/80422
        * cfgcleanup.c (try_crossjump_to_edge): Verify SRC1 and SRC2 have
        predecessors after walking up the insn chain.

        PR middle-end/80422
        * gcc.c-torture/compile/pr80422.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr80422.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgcleanup.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list