[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

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 12 16:13:00 GMT 2004


------- Additional Comments From danglin at gcc dot gnu dot org  2004-06-12 16:13 -------
Reverting Richard's patch to function.c eliminates the regression.

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.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15941



More information about the Gcc-bugs mailing list