2001-04-06 Bernd Schmidt <bernds@redhat.com>
+ 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+ * function.c (locate_and_pad_parm): Don't align stack unconditionally.
+
Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
* config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
of the function return register into a plain REG until
- offset_ptr->constant);
}
#else /* !ARGS_GROW_DOWNWARD */
- pad_to_arg_alignment (initial_offset_ptr, boundary);
+ if (!in_regs
+#ifdef REG_PARM_STACK_SPACE
+ || REG_PARM_STACK_SPACE (fndecl) > 0
+#else
+ /* For the gcc-2_95-branch we want to make sure not to break something
+ on platforms which pass argument in registers but don't define
+ REG_PARM_STACK_SPACE. So we force the original behaviour here. */
+ || 1
+#endif
+ )
+ pad_to_arg_alignment (initial_offset_ptr, boundary);
+
*offset_ptr = *initial_offset_ptr;
#ifdef PUSH_ROUNDING