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
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/c-c++-common/asan/pr79944.c
0 → 100644
Please
register
or
sign in
to comment