diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2000-03-14 17:48:48 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2000-03-14 17:48:48 +0000 |
commit | c487e4846704a9f954636159e05437711c4c2bf4 (patch) | |
tree | a4087c9b19d945d5ea84fca5556569506721d8dd /gcc/function.c | |
parent | 5648866613a7d3a348a5a29c6494f1fe8ab0364a (diff) | |
download | gcc-c487e4846704a9f954636159e05437711c4c2bf4.zip gcc-c487e4846704a9f954636159e05437711c4c2bf4.tar.gz gcc-c487e4846704a9f954636159e05437711c4c2bf4.tar.bz2 |
function.c (prepare_function_start): Correctly initialize cfun->stack_alignment_needed.
* function.c (prepare_function_start): Correctly initialize
cfun->stack_alignment_needed.
From-SVN: r32534
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 318d16b..e92b581 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5752,9 +5752,11 @@ prepare_function_start () cfun->original_decl_initial = 0; cfun->original_arg_vector = 0; - cfun->stack_alignment_needed = 0; #ifdef STACK_BOUNDARY + cfun->stack_alignment_needed = STACK_BOUNDARY; cfun->preferred_stack_boundary = STACK_BOUNDARY; +#else + cfun->stack_alignment_needed = 0; #endif /* Set if a call to setjmp is seen. */ |