This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: STACK_BOUNDARY on alpha ports ?
Richard Henderson wrote:
> Someone needs to check OpenVMS and Unicos ABIs, since they
> do *not* currently enforce 128-bit alignment.
The OpenVMS calling standard for alpha states (3.7.1 Call conventions):
o Stack usage: At any time, the stack pointer must denote an address that
has the minimum alignment required by the Alpha hardware. In addition,
whenever control is transferred to another procedure, the stack must be
octaword aligned.
Would setting STACK_BOUNDARY to 128 be the right way to address that ?
I see it does not only impact the allocation of frames as a whole, but also
the alignment of various pointers within a frame (from what init_emit does).
As for Unicos, the status of it's support in GCC is unclear to me.
The section in "supported platforms" is not attractive and I couldn't find
a mention of unicos in MAINTAINTERS.