[Bug target/124001] wrong code generated with alignas() on armv8

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 6 19:14:54 GMT 2026


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |alias, wrong-code

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fno-strict-aliasing looks to fix the issue.

There seems to be some aliasing issue in the code in a few places I think.
marking transform as noinline makes the code to be working.


More information about the Gcc-bugs mailing list