https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
void f(int);
void g(long long __off)
{
const int max = (1u << 31) - 1;
while (__off > max)
{
f(max);
}
}