function.c (STACK_BYTES): Move definition to head of file.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 14 Sep 2003 10:07:51 +0000 (10:07 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 14 Sep 2003 10:07:51 +0000 (10:07 +0000)
commit975f381876699c55c3802e2d102eb0d9e1dcd6b3
tree8d4bc0c5b6278c4ecbb34d3389d0f7d3a7bc36f4
parent011d50d946a1c854e19d0be0aff69de6f97f6eaf
function.c (STACK_BYTES): Move definition to head of file.

* function.c (STACK_BYTES): Move definition to head of file.
(assign_parms): Don't pass current_function_pretend_args_size
directly to SETUP_INCOMING_VARARGS.  For partial register arguments,
round current_function_pretend_args_size up to STACK_BYTES.  Skip any
excess before laying out the argument.

From-SVN: r71372
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030914-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/20030914-2.c [new file with mode: 0644]