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

zhangtianhao (F) <zhangtianhao6 at huawei dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhangtianhao6 at huawei dot com

--- Comment #2 from zhangtianhao (F) <zhangtianhao6 at huawei dot com> ---
(In reply to Andrew Pinski from comment #1)
> 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.
> 
> ```

Is the alignment design principle of the GCC compiler designed according to the
standard? Is there an ARM standard to support it?

Reply via email to