https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85560
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I should note clang is able to figure this is finite and able to remove the loop even in C mode.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 01 Aug 2021 01:13:32 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85560
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I should note clang is able to figure this is finite and able to remove the loop even in C mode.