[Bug sanitizer/64336] Template functions are not instrumented at -O0 and -Og
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 17 09:03:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64336
--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
hmm...
in this example at tsan.c, instrument_expr()
is exiting twice here:
if (TREE_READONLY (base)
|| (TREE_CODE (base) == VAR_DECL
&& DECL_HARD_REGISTER (base)))
return false;
because TREE_READONLY (base) == true !
More information about the Gcc-bugs
mailing list