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.