https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116330
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note it seems like you need to have the DEBUG insn/statement in the right location to cause this to fail. It is not just about having them either.