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__.

Reply via email to