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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  8 09:50:21 2019
New Revision: 267678

URL: https://gcc.gnu.org/viewcvs?rev=267678&root=gcc&view=rev
Log:
        Backported from mainline
        2018-11-16  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr87475.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/cfgrtl.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to