alignment: store_one_arg vs emit_push_insn

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sat May 10 02:24:00 GMT 2003


      /* 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.



More information about the Gcc mailing list