re PR sanitizer/79897 (ICE in gimplify_modify_expr, at gimplify.c:5627 on ARM target)
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Mar 2017 06:11:14 +0000 (07:11 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Mar 2017 06:11:14 +0000 (07:11 +0100)
commit1f6dba54da4c437e74fbb1c92621adb33582efff
tree650681b7c596b0039d28f13112a1d8d99a50ca8c
parent45174deccead5dbdfd20e69c867195448e5931ff
re PR sanitizer/79897 (ICE in gimplify_modify_expr, at gimplify.c:5627 on ARM target)

PR sanitizer/79897
* ubsan.c (ubsan_encode_value): Call mark_addressable on the
temporary.

* c-c++-common/ubsan/pr79897.c: New test.

From-SVN: r245945
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/pr79897.c [new file with mode: 0644]
gcc/ubsan.c