https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64354
--- Comment #2 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu May 19 12:05:59 2016 New Revision: 236457 URL: https://gcc.gnu.org/viewcvs?rev=236457&root=gcc&view=rev Log: 2016-05-19 Maxim Ostapenko <m.ostape...@samsung.com> PR sanitizer/64354 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Add new builtin __SANITIZE_THREAD__ macros for fsanitize=thread switch. * doc/cpp.texi: Document new macros. * c-c++-common/tsan/sanitize-thread-macro.c: New test. Added: trunk/gcc/testsuite/c-c++-common/tsan/sanitize-thread-macro.c Modified: trunk/gcc/ChangeLog trunk/gcc/cppbuiltin.c trunk/gcc/doc/cpp.texi trunk/gcc/testsuite/ChangeLog