https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109002
--- Comment #2 from Akihiko Odaki <akihiko.odaki at daynix dot com> --- Oops. Replacing i++ with i = !i removes the undefined behavior while the bug still remains.
akihiko.odaki at daynix dot com via Gcc-bugs Thu, 02 Mar 2023 22:58:41 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109002
--- Comment #2 from Akihiko Odaki <akihiko.odaki at daynix dot com> --- Oops. Replacing i++ with i = !i removes the undefined behavior while the bug still remains.