diff options
author | Tom de Vries <tom@codesourcery.com> | 2011-10-13 10:24:47 +0000 |
---|---|---|
committer | Tom de Vries <tom@codesourcery.com> | 2011-10-13 10:24:47 +0000 |
commit | 4f9c183fce75e4caa8fa4dea3b7f57a4173d9767 (patch) | |
tree | 2528ea0d8fe6be0a6b1c66e9eed2b50063bf2603 /gcc/function.c | |
parent | 73a1bbdf5d286f5cc6498bde4ebdf1193ba02bf4 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@179901 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |