public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/63559] New: -fsanitize=thread sets no preprocessor flags
@ 2014-10-16 11:34 rogero at howzatt dot demon.co.uk
  2014-10-16 12:01 ` [Bug sanitizer/63559] " dvyukov at google dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rogero at howzatt dot demon.co.uk @ 2014-10-16 11:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63559

            Bug ID: 63559
           Summary: -fsanitize=thread sets no preprocessor flags
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rogero at howzatt dot demon.co.uk
                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

When -fsanitize=address is supplied the builtin __SANITIZE_ADDRESS__ is
defined. There does not appear to be an equivalent for -fsanitize=thread, which
could be used for conditionally compiling code to avoid tsan reporting false
positives.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-17  3:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16 11:34 [Bug sanitizer/63559] New: -fsanitize=thread sets no preprocessor flags rogero at howzatt dot demon.co.uk
2014-10-16 12:01 ` [Bug sanitizer/63559] " dvyukov at google dot com
2014-10-16 19:58 ` rogero at howzatt dot demon.co.uk
2014-10-17  3:36 ` dvyukov at google dot com
2023-12-17  3:58 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).