https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
--- Comment #5 from Коренберг Марк <socketpair at gmail dot com> --- Not only -s problem. I think -O3 in gcc 12.2 will run faster than -O3 in gcc 13 (for this case). this code should not be treated as if-else-if-else-if. gcc 12 does its job right.