https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68680
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Dec 7 09:11:06 2015 New Revision: 231357 URL: https://gcc.gnu.org/viewcvs?rev=231357&root=gcc&view=rev Log: Backport from mainline 2015-12-04 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr68680.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/calls.c branches/gcc-5-branch/gcc/testsuite/ChangeLog