This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]