https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468
--- Comment #13 from Romain Geissler <romain.geissler at amadeus dot com> --- Hi, It looks like that the code in #comment 11 works when you build just with -O2, but not when you add debug symbols: -O2 -g. Do we have a way to ignore debug statements when looking for the next statement in the next basic block ? Cheers, Romain