https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- > 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; > } This one started with r8-5241-g8697bf9f46f36168 which introduced -gstatement-frontiers.