This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alignment: store_one_arg vs emit_push_insn
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dj at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 9 May 03 22:28:58 EDT
- Subject: Re: alignment: store_one_arg vs emit_push_insn
/* Some types will require stricter alignment, which will be
provided for elsewhere in argument layout. */
parm_align = MAX (PARM_BOUNDARY, TYPE_ALIGN (TREE_TYPE (pval)));
It would seem to me that the MAX should in fact be a MIN in
store_one_arg.
No, it looks right to me. PARM_BOUNDARY is the smallest alignment a
parameter is allowed to have, but some might be more aligned.