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