https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95903
--- Comment #2 from Markus F.X.J. Oberhumer <markus at oberhumer dot com> --- Somewhat related: the same code compiled with arm64-gcc -mabi=ilp32 -frwapv does miscompile *both* functions. See https://gcc.godbolt.org/z/uxDAtx Should I open a new issue for this?