https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > (In reply to Martin Liška from comment #1) > > Likely latent which was exposed with r9-3352-g87bd153645f393a1. here is a slightly modified (just line rather than column change) which fails in GCC 8 also: int bar (void); int foo (int x) { int i; for (i = 0; i <= __INT_MAX__; ++i) x += bar () < ( x ? 2 : 1 ); return x; }