diff options
author | Tom de Vries <tom@codesourcery.com> | 2011-10-13 10:24:47 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2011-10-13 10:24:47 +0000 |
commit | c28f4b5c26988486a94093dadfb551a6520c2520 (patch) | |
tree | 2528ea0d8fe6be0a6b1c66e9eed2b50063bf2603 /gcc/function.c | |
parent | 46f8e1ac8c72f9f77ff6f34fee3b7e3e68615a2f (diff) | |
download | gcc-c28f4b5c26988486a94093dadfb551a6520c2520.tar.gz |
function.c (gimplify_parameters): Set number of arguments of call to BUILT_IN_ALLOCA_WITH_ALIGN to 2.
2011-10-13 Tom de Vries <tom@codesourcery.com>
* function.c (gimplify_parameters): Set number of arguments of call to
BUILT_IN_ALLOCA_WITH_ALIGN to 2.
From-SVN: r179901
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 35ddfd6894f..c469ab9b2b1 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3636,7 +3636,7 @@ gimplify_parameters (void) local = build_fold_indirect_ref (addr); t = builtin_decl_explicit (BUILT_IN_ALLOCA_WITH_ALIGN); - t = build_call_expr (t, 1, DECL_SIZE_UNIT (parm), + t = build_call_expr (t, 2, DECL_SIZE_UNIT (parm), size_int (DECL_ALIGN (parm))); /* The call has been built for a variable-sized object. */ |