[Bug c/95835] Wrong line information at Og
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 23 11:22:04 GMT 2020
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.
More information about the Gcc-bugs
mailing list