https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90208
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 30 12:39:09 2019 New Revision: 275151 URL: https://gcc.gnu.org/viewcvs?rev=275151&root=gcc&view=rev Log: Backported from mainline 2019-04-24 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/90208 * tree-cfg.c (remove_bb): Move forced labels from removed bbs after labels of new_bb, not before them. * gcc.dg/tsan/pr90208-2.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/tsan/pr90208-2.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-cfg.c