re PR sanitizer/88619 (ICE in asan_emit_stack_protection, at asan.c:1574 since r266664)
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Jan 2019 08:50:57 +0000 (09:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Jan 2019 08:50:57 +0000 (09:50 +0100)
commit76192f9356f1fc5b5e4d251020625d46c48a8dd8
tree14cd06493788eede2ea46f387d95b2d12a89b27e
parentd8fcab689435a29dba2862693689c624b257d1bf
re PR sanitizer/88619 (ICE in asan_emit_stack_protection, at asan.c:1574 since r266664)

PR sanitizer/88619
* cfgexpand.c (expand_stack_vars): Only align prev_offset to
ASAN_MIN_RED_ZONE_SIZE, not to maximum of that and alignb.

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

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