https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107493
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- self contained testcase: int a; int b(int c) { return c; } int main() { a = -21; for (; a <= 0; a = (unsigned short)(b(a + 2) + 8)) ; if (a != 65525) __builtin_abort(); // __builtin_printf("%d\n", a); }