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 sanitizer/81715] asan-stack=1 redzone allocation is too inflexible


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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 18 20:30:33 2018
New Revision: 256861

URL: https://gcc.gnu.org/viewcvs?rev=256861&root=gcc&view=rev
Log:
        PR sanitizer/81715
        PR testsuite/83882
        * function.h (gimplify_parameters): Add gimple_seq * argument.
        * function.c: Include gimple.h and options.h.
        (gimplify_parameters): Add cleanup argument, add CLOBBER stmts
        for the added local temporaries if needed.
        * gimplify.c (gimplify_body): Adjust gimplify_parameters caller,
        if there are any parameter cleanups, wrap whole body into a
        try/finally with the cleanups.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/function.c
    trunk/gcc/function.h
    trunk/gcc/gimplify.c

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