function.c (STACK_ALIGNMENT_NEEDED): New macro.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 4 Mar 2003 06:20:17 +0000 (06:20 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 4 Mar 2003 06:20:17 +0000 (06:20 +0000)
commit95f3f59efde3d3138d216aca9d00913cb4c1a002
treee9ac290e5315d76e0df2d32ccb321c9164e8fd9a
parent9b23f09dc11c0a21ef0b4affb50a2c2fc7c69147
function.c (STACK_ALIGNMENT_NEEDED): New macro.

* function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
(assign_stack_local_1): Perform overall stack alignment only when
STACK_ALIGNMENT_NEEDED is non-zero.
* doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.

* pa.c (compute_frame_size): Rename fsize to size.  Account for
alignment to a word boundary before general register save block.  Only
account for double-word alignment before floating point register save
block if one or more are saved.  Don't allocate space for %r3 when
frame pointer is needed.
(hppa_expand_prologue): Include alignment to word boundary in local
frame size.
* pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
(STACK_ALIGNMENT_NEEDED): Define.

From-SVN: r63771
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/doc/tm.texi
gcc/function.c