This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15941] [3.4/3.5 regression] new fails gcc.dg/compat/struct-by-value-11 and gcc.dg/compat/struct-by-value-1
- From: "rth at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2004 19:02:05 -0000
- Subject: [Bug target/15941] [3.4/3.5 regression] new fails gcc.dg/compat/struct-by-value-11 and gcc.dg/compat/struct-by-value-1
- References: <20040611160703.15941.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at redhat dot com 2004-06-12 19:01 -------
Subject: Re: [3.4/3.5 regression] new fails gcc.dg/compat/struct-by-value-11 and gcc.dg/compat/struct-by-value-1
On Sat, Jun 12, 2004 at 04:13:30PM -0000, danglin at gcc dot gnu dot org wrote:
> The regression also affects hppa-unknown-linux if I disable the kernel
> unaligned handler.
>
> The 32-bit PA ABI has rather special requirements for passing 5-7 byte
> structs. See the comment in function_arg in pa.c. I believe the fail
> in test5 is caused by trying to pass a 5 byte struct.
So is the PA FUNCTION_ARG_BOUNDARY function lying about the alignment?
r~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15941