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

--- Comment #13 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Andrew Pinski from comment #10)
> (In reply to Andrew Pinski from comment #9)
> > -mstrict-align is definitely the key to reproduce it with GCC 15.2.0.
> 
> And on the trunk.
> 
> Note -mstrict-align  should not be used here. The upstream highway code does
> not use it either.

Can you comment a bit more about what this means. highway code base is safe
with alignment. Here is what I did about 2 years ago:

*
https://salsa.debian.org/debian-phototools-team/highway/-/commit/1abb97cdf84057fb84ab5c78c4075a77d01f65f4

Basically add -mno-unaligned-access/-mstrict-align depending on the target.

Reply via email to