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 middle-end/65958] -fstack-check breaks alloca on architectures using generic stack checking


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65958

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Dec  4 11:52:04 2015
New Revision: 231259

URL: https://gcc.gnu.org/viewcvs?rev=231259&root=gcc&view=rev
Log:
        PR middle-end/65958
        * config/aarch64/aarch64-protos.h (aarch64_output_probe_stack-range):
        Declare.
        * config/aarch64/aarch64.md: Declare UNSPECV_BLOCKAGE and
        UNSPEC_PROBE_STACK_RANGE.
        (blockage): New instruction.
        (probe_stack_range_<PTR:mode>): Likewise.
        * config/aarch64/aarch64.c (aarch64_emit_probe_stack_range): New
        function.
        (aarch64_output_probe_stack_range): Likewise.
        (aarch64_expand_prologue): Invoke aarch64_emit_probe_stack_range if
        static builtin stack checking is enabled.
        * config/aarch64/aarch64-linux.h (STACK_CHECK_STATIC_BUILTIN):
        Define to 1.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/stack-checking.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-linux.h
    trunk/gcc/config/aarch64/aarch64-protos.h
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/config/aarch64/aarch64.md
    trunk/gcc/testsuite/ChangeLog

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