https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is documented behavior even:
https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/ARM-Options.html#index-munaligned-access
```
Enables (or disables) reading and writing of 16- and 32- bit values from
addresses that are not 16- or 32- bit aligned. By default unaligned access is
disabled for all pre-ARMv6, all ARMv6-M and for ARMv8-M Baseline architectures,
and enabled for all other architectures. If unaligned access is not enabled
then words in packed data structures are accessed a byte at a time.
```