function.c (prepare_function_start): Correctly initialize cfun->stack_alignment_needed.
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 14 Mar 2000 17:48:48 +0000 (17:48 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 14 Mar 2000 17:48:48 +0000 (17:48 +0000)
* function.c (prepare_function_start): Correctly initialize
cfun->stack_alignment_needed.

From-SVN: r32534

gcc/ChangeLog
gcc/function.c

index ac181ce311935cd14c44f2208ca0e98bc41c3a1d..9344b197f480b73dda83e081615dbfd9dc093d42 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-14  Richard Earnshaw <rearnsha@arm.com>
+
+       * function.c (prepare_function_start): Correctly initialize
+       cfun->stack_alignment_needed.
+
 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
 
        * cppfiles.c (find_include_file): Don't assume nshort is a
index 318d16b94447826a5af79a4e7dcdd3222b6c111f..e92b58154f2f1618a3367b1a69ac07644f80de5e 100644 (file)
@@ -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.  */