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

--- Comment #40 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Uros Bizjak <u...@gcc.gnu.org>:

https://gcc.gnu.org/g:09910b6753427eeb3f6dded4fae3578851da7422

commit r11-11352-g09910b6753427eeb3f6dded4fae3578851da7422
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Mar 26 11:06:15 2024 +0100

    tsan: Don't instrument non-generic AS accesses [PR111736]

    Similar to the asan and ubsan changes, we shouldn't instrument non-generic
    address space accesses with tsan, because we just have library functions
    which take address of the objects as generic address space pointers, so
they
    can't handle anything else.

    2024-03-26  Jakub Jelinek  <ja...@redhat.com>

    gcc/ChangeLog:

            PR sanitizer/111736
            * tsan.c (instrument_expr): Punt on non-generic address space
            accesses.

    gcc/testsuite/ChangeLog:

            * gcc.dg/tsan/pr111736.c: New test.

    (cherry picked from commit 471967ab8b4c49338ba77defbe24b06cc51c0093)

Reply via email to