This is the mail archive of the gcc-patches@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: Patch: IA64 HP-UX struct-layout failures in testsuite.


Steve Ellcey <sje@cup.hp.com> writes:

> This patch fixes most of the gcc.dg-struct-layout-1 failures on IA64
> HP-UX.  The problem is that while the 128 long double type has 8 byte
> alignment in ILP32 mode it should be aligned to 16 bytes when passed as
> an argument.  I also found a place in ia64_function_arg_advance where
> TFmode values might try to be put into FP registers which is also wrong.
>
> Tested on IA64 HP-UX with no regressions and 25 fewer failures.

This is OK, but please adjust the comments in ia64_function_arg_advance
and above ia64_function_arg_boundary to explain this.

zw


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