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

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Thu Mar 12 15:58:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65400

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Jakub,

at that time we do not have the __tsan_func_entry calls, only
the __TSAN_FUNC_EXIT thing.

in opcua_string.c.038t.local-pure-const1
OpcUa_String_Clear looks like it has OpcUa_String_Clear.part.0
at the end.  folding that into a call to OpcUa_String_Clear.part.0
eats away the __TSAN_FUNC_EXIT.



More information about the Gcc-bugs mailing list