re PR tree-optimization/68680 (On-stack VLA does not cause instrumentation with ...
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Dec 2015 16:32:22 +0000 (17:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Dec 2015 16:32:22 +0000 (17:32 +0100)
commit4e722cf1dc7dd6087ddf8f861e24a9d4ad4bbd6a
tree7c61ee5c07542943bbc86b68ac6dbd570016fb95
parent83b58b6b0e75383fb01cd65b29a8fa1779050269
re PR tree-optimization/68680 (On-stack VLA does not cause instrumentation with -fstack-protector)

PR tree-optimization/68680
* calls.c (special_function_p): Return ECF_MAY_BE_ALLOCA for
BUILT_IN_ALLOCA{,_WITH_ALIGN}.  Don't check for __builtin_alloca
by name.

* gcc.target/i386/pr68680.c: New test.

From-SVN: r231279
gcc/ChangeLog
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr68680.c [new file with mode: 0644]