gimplify.c (gimplify_function_tree): Check the no_sanitize_thread decl attribute.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 21 Jan 2015 18:08:42 +0000 (18:08 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Wed, 21 Jan 2015 18:08:42 +0000 (18:08 +0000)
commit2f3c4b6968e969001578fddc4fac848b8726dde3
treea28bfc2b90509e1767f3e542d283a603e77432da
parentb6b782b967c8b3cdd1bcb3f6a8aa5581be86ffd7
gimplify.c (gimplify_function_tree): Check the no_sanitize_thread decl attribute.

gcc/ChangeLog:
2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
        decl attribute.

gcc/testsuite/ChangeLog
2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gcc/testsuite/c-c++-common/tsan/step.c: New testcase.

From-SVN: r219961
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/tsan/step.c [new file with mode: 0644]