https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95835
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-06-23
Component|debug |c
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Keywords| |wrong-debug
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
In the .gimple dump there's no line 6 on stmt locations but .lower has a new
debug stmt with that line, likely from the goto location of the backedge.
I'm not sure this is "easy" to fix. Oddly enough at -O0 we don't have
debug stmts and thus this line is not mentioned.