re PR sanitizer/80308 (asan crash on big-endian powerpc-linux target)
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Apr 2017 13:17:15 +0000 (15:17 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Apr 2017 13:17:15 +0000 (15:17 +0200)
commit47a113429b00669d57bbea6aa84f51e4c4869592
tree6423301157ac4961d6e04ab24b1d64431a50dfac
parent5f5c5e0f07c9ce7bff0498a028e9abbdf5a74183
re PR sanitizer/80308 (asan crash on big-endian powerpc-linux target)

PR sanitizer/80308
* asan.c (asan_store_shadow_bytes): Fix location of last_chunk_value
for big endian.

* c-c++-common/asan/pr80308.c: New test.

Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de>
From-SVN: r246703
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/pr80308.c [new file with mode: 0644]