https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114631
--- Comment #5 from Ganton <kubry at gmx dot com> --- Thanks for the detailed information, Andrew! If anybody reads this bug report: The reported problems are seen using GCC 13.2.0 and `-O2`, but not using `-O1` nor `-O0`.