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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  8 09:48:47 2019
New Revision: 267677

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

        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.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/tsan/pr88018.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