aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chkp.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-03-09 10:20:23 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-03-09 10:20:23 +0100
commit9e463823a8dbedb956fda93af75c206f9ef3acd4 (patch)
treec218b4135429d12cdd923142e06b51e3a85032ab /gcc/tree-chkp.c
parent6b62f323022656906067769236c31c74b9e10f47 (diff)
downloadgcc-9e463823a8dbedb956fda93af75c206f9ef3acd4.zip
gcc-9e463823a8dbedb956fda93af75c206f9ef3acd4.tar.gz
gcc-9e463823a8dbedb956fda93af75c206f9ef3acd4.tar.bz2
re PR sanitizer/79944 (asan: incorrect instrumentation of atomic operations)
PR sanitizer/79944 * asan.c (get_mem_refs_of_builtin_call): For BUILT_IN_ATOMIC* and BUILT_IN_SYNC*, determine the access type from the size suffix and always build a MEM_REF with that type. Handle forgotten BUILT_IN_SYNC_FETCH_AND_NAND_16 and BUILT_IN_SYNC_NAND_AND_FETCH_16. * c-c++-common/asan/pr79944.c: New test. From-SVN: r245991
Diffstat (limited to 'gcc/tree-chkp.c')
0 files changed, 0 insertions, 0 deletions