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: DJ Delorie <dj at redhat dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 11 May 2003 11:30:46 -0400
- Subject: Re: alignment: store_one_arg vs emit_push_insn
- References: <10305111454.AA27189@vlsi1.ultra.nyu.edu>
> I thought you were talking about it using PARM_BOUNDARY.
>
> In this case the bug seems to be that xinner isn't properly aligned.
The testcase is gcc.dg/struct-by-value-1.c
"xinner" is originally an struct with an array of char, 8-bit aligned,
at an odd address. That is "properly aligned" for that type. The
stack and parameters on it are 16-bit aligned.