re PR sanitizer/88333 (ice in asan_emit_stack_protection, at asan.c:1574)
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Dec 2018 08:26:06 +0000 (09:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Dec 2018 08:26:06 +0000 (09:26 +0100)
commitf6fa17afefbef8fe5f5aa689814852efcb5e4b58
tree7e5f20eaf354eb0ca5b732817f8e94c1e0732ecc
parent47be95094bc2d5c79320234a35e5049e0514fff1
re PR sanitizer/88333 (ice in asan_emit_stack_protection, at asan.c:1574)

PR sanitizer/88333
* cfgexpand.c (expand_stack_vars): If asan_vec is empty, start with
aligning frame offset to ASAN_RED_ZONE_SIZE bytes.

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

From-SVN: r266817
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/pr88333.c [new file with mode: 0644]