diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-01-18 21:30:33 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-01-18 21:30:33 +0100 |
commit | 6aee2fd0648140a7308123c1368e772cf58738ff (patch) | |
tree | d3b25d4d5a26001425b9b68638df47855a0c1354 /gcc/function.h | |
parent | d3a9902e523f81f07e765b2553dde7019aa098fb (diff) | |
download | gcc-6aee2fd0648140a7308123c1368e772cf58738ff.zip gcc-6aee2fd0648140a7308123c1368e772cf58738ff.tar.gz gcc-6aee2fd0648140a7308123c1368e772cf58738ff.tar.bz2 |
re PR sanitizer/81715 (asan-stack=1 redzone allocation is too inflexible)
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.
From-SVN: r256861
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.h b/gcc/function.h index 642e63b..7e59050 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -607,7 +607,7 @@ extern bool initial_value_entry (int i, rtx *, rtx *); extern void instantiate_decl_rtl (rtx x); extern int aggregate_value_p (const_tree, const_tree); extern bool use_register_for_decl (const_tree); -extern gimple_seq gimplify_parameters (void); +extern gimple_seq gimplify_parameters (gimple_seq *); extern void locate_and_pad_parm (machine_mode, tree, int, int, int, tree, struct args_size *, struct locate_and_pad_arg_data *); |