[Bug tree-optimization/68680] [4.9 regression] On-stack VLA does not cause instrumentation with -fstack-protector

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 11 09:10:00 GMT 2016


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  <jakub@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


More information about the Gcc-bugs mailing list