https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In .gimple already: -g2: [/app/example.cpp:11:5] goto <D.1986>; vs -g0: [/app/example.cpp:10:17] goto <D.1986>; -g2: <D.1986>:; # DEBUG BEGIN STMT; SAVE_EXPR <bar () < (x != 0 ? 2 : 1)>;, x = (SAVE_EXPR <bar () < (x != 0 ? 2 : 1)>) + x;; # DEBUG BEGIN STMT; ++i; # DEBUG BEGIN STMT; goto <D.1986>; vs -g0: <D.1986>:; SAVE_EXPR <bar () < (x != 0 ? 2 : 1)>;, x = (SAVE_EXPR <bar () < (x != 0 ? 2 : 1)>) + x;; ++i; goto <D.1986>;