https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Carla/sord miscompiled with |Carla/sord miscompiled with
|-O2 on ARM64 (inlining |-O2 on ARM64 with flexible
|issue) |array member
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like the aliasing code is getting the flexible array member aliasing
wrong.
Replacing:
ZixBTreeIterFrame stack[];
With:
ZixBTreeIterFrame stack[1];
Fixes the issue ...