https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691

--- Comment #36 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Interesting. Yes, definitely similar ideas. It looks like it was solved
differently though, as config/pa/pa.h has

#define MALLOC_ABI_ALIGNMENT (TARGET_64BIT ? 128 : 64)

which should get used by the aligned new code, even without my suggested change
in PR 90569.

As an aside, the comment on MALLOC_ABI_ALIGNMENT says "The glibc implementation
currently provides 8-byte alignment." But glibc malloc was changed to 16-byte
alignment a couple of years ago.

Reply via email to