https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88018
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Nov 17 15:09:43 2018 New Revision: 266236 URL: https://gcc.gnu.org/viewcvs?rev=266236&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. Added: trunk/gcc/testsuite/g++.dg/tsan/pr88018.C