https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68680
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 11 09:09:58 2016 New Revision: 233322 URL: https://gcc.gnu.org/viewcvs?rev=233322&root=gcc&view=rev Log: Backported 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-4_9-branch/gcc/testsuite/gcc.target/i386/pr68680.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/calls.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog