[Bug sanitizer/65400] tsan mis-compiles inlineable C functions
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 15:33:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65400
--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I think the trouble starts at opcua_string.c.039t.fnsplit :
OpcUa_String_Clear (struct OpcUa_String * a_pString)
{
...
<bb 5>:
# _25 = PHI <0(2), 1(3), 0(4)>
if (_25 == 0)
goto <bb 7>;
else
goto <bb 6>;
<bb 6>:
OpcUa_String_Clear.part.0 (a_pString_3(D));
goto <bb 8>;
<bb 7>:
TSAN_FUNC_EXIT ();
<bb 8>:
return;
}
More information about the Gcc-bugs
mailing list