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


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


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