* function.c (assign_parms): Include pretend alignment offset.

From-SVN: r78973
This commit is contained in:
Paul Brook 2004-03-05 16:44:33 +00:00 committed by Paul Brook
parent 019dd4ece9
commit ce407aa992
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2004-03-05 Paul Brook <paul@codesourcery.com>
* function.c (assign_parms): Include pretend alignment offset.
2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stor-layout.c (layout_type, case FUNCTION_TYPE): Make size

View File

@ -4591,13 +4591,9 @@ assign_parms (tree fndecl)
locate_and_pad_parm (promoted_mode, passed_type, in_regs,
entry_parm ? partial : 0, fndecl,
&stack_args_size, &locate);
/* Adjust offsets to include pretend args, unless this is the
split arg. */
if (pretend_bytes == 0)
{
locate.slot_offset.constant += extra_pretend_bytes;
locate.offset.constant += extra_pretend_bytes;
}
/* Adjust offsets to include the pretend args. */
locate.slot_offset.constant += extra_pretend_bytes - pretend_bytes;
locate.offset.constant += extra_pretend_bytes - pretend_bytes;
{
rtx offset_rtx;