[Bug sanitizer/64354] New: no preprocessor symbol __SANITIZE_THREAD__
rrh at newrelic dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 17:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64354
Bug ID: 64354
Summary: no preprocessor symbol __SANITIZE_THREAD__
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: rrh at newrelic dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
compiling
gcc -fsanitize=thread
does not pre-define preprocessor symbol __SANITIZE_THREAD__ (bad)
however, compiling
gcc -fsanitize=address
does pre-define preprocessor symbol __SANITIZE_ADDRESS__ (good)
The situations should be symmetric. I would suggest adding __SANITIZE_THREAD__
rather than deleting __SANITIZE_ADDRESS__.
More information about the Gcc-bugs
mailing list