This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248658 - in /branches/gcc-5-branch/gcc: Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 30 May 2017 08:13:34 -0000
- Subject: r248658 - in /branches/gcc-5-branch/gcc: Change...
Author: jakub
Date: Tue May 30 08:13:33 2017
New Revision: 248658
URL: https://gcc.gnu.org/viewcvs?rev=248658&root=gcc&view=rev
Log:
Backported from mainline
2017-03-09 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/asan/pr79944.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/asan.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog