This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alignment: store_one_arg vs emit_push_insn


On Fri, May 09, 2003 at 07:34:36PM -0400, DJ Delorie wrote:
>       /* 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)));

MAX is correct in this case because we know that we're storing
to a parameter, and we know that PARM_BOUNDARY is the minimum
alignment of any parameter.

> The way the code is now, xstormy16 is trying to access
> a byte-aligned object with a HImode move, and failing

You don't give enough information to determine why this might
be the case.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]