diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-03-26 11:06:15 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-03-26 11:13:24 +0100 |
commit | 471967ab8b4c49338ba77defbe24b06cc51c0093 (patch) | |
tree | d1f54ebf6d17e64ab503d2ba42af598913aa17b7 /gcc/fold-const.cc | |
parent | f4e92d62dccb96ade753f3a8f49be1b5f61c31f1 (diff) | |
download | gcc-471967ab8b4c49338ba77defbe24b06cc51c0093.zip gcc-471967ab8b4c49338ba77defbe24b06cc51c0093.tar.gz gcc-471967ab8b4c49338ba77defbe24b06cc51c0093.tar.bz2 |
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 <jakub@redhat.com>
PR sanitizer/111736
* tsan.cc (instrument_expr): Punt on non-generic address space
accesses.
* gcc.dg/tsan/pr111736.c: New test.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions