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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 16 16:43:49 2018
New Revision: 266219

URL: https://gcc.gnu.org/viewcvs?rev=266219&root=gcc&view=rev
Log:
        PR rtl-optimization/87475
        * cfgrtl.c (patch_jump_insn): Allow redirection failure for
        CROSSING_JUMP_P insns.
        (cfg_layout_redirect_edge_and_branch): Don't ICE if ret is NULL.

        * g++.dg/opt/pr87475.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr87475.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to