[Bug sanitizer/65400] tsan mis-compiles inlineable C functions

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Wed Mar 18 20:06:00 GMT 2015


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.



More information about the Gcc-bugs mailing list