https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65400
--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to Jakub Jelinek from comment #8) > Created attachment 35059 [details] > gcc5-pr65400.patch > > Untested fix for the first issue. patch looks good! and a really nice test case. one minor nit on the test case: I think the -g in the dg-additional-options is not necesary, as that is alread added in tsan.exp somewhere. Thanks.