[committed] hppa: Update MALLOC_ABI_ALIGNMENT define

John David Anglin dave.anglin@bell.net
Sat Oct 29 16:17:00 GMT 2016


The attached patch changes the malloc ABI alignment to 128 bits on hppa64 and hppa-linux.
This suppresses the over-aligned new warning seen on linux.  On hppa64, we now match the
alignment for long double.

The default definition of MALLOC_ABI_ALIGNMENT is 32.  This is wrong for PA-RISC, so I back ported
the change and BIGGEST_ALIGNMENT comment updates to the gcc-5 and gcc-6 branches.

Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Committed to trunk, gcc-5 and gcc-6 branches.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa.h.d.1.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161029/fa156126/attachment.txt>


More information about the Gcc-patches mailing list