[Bug rtl-optimization/88018] [8/9 Regression] ICE in insert_insn_on_edge at cfgrtl.c:1952 since r255066

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 15 08:47:00 GMT 2018


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 15 08:47:21 2018
New Revision: 266174

URL: https://gcc.gnu.org/viewcvs?rev=266174&root=gcc&view=rev
Log:
        PR rtl-optimization/88018
        * cfgrtl.c (fixup_abnormal_edges): Guard moving insns to fallthru edge
        on the presence of fallthru edge, rather than if it is a USE or not.

        * g++.dg/tsan/pr88018.C: New test.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list