https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103514
--- Comment #2 from Navid Rahimi <navidrahimi at microsoft dot com> --- Exactly. Actually in my final version I had it with single loop, but didn't know I can remove the condition too. Thanks Andrew.