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

--- Comment #2 from Mikhail Kremniov <officesamurai at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> malloc is not controlled by gcc.

Yeah, I shouldn't have mentioned malloc because there seems to be no
requirement for it to align the returned addresses by alignof(max_align_t).
But new-expression should still return properly aligned objects, shouldn't it?
So it looks like this issue is C++-specific after all.

Reply via email to