https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106399
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |10.4.0, 11.3.0, 12.1.0, | |9.5.0 Last reconfirmed| |2022-07-22 Summary|Wrong debug info for |[10/11/12/13 Regression] |function with nested |Wrong debug info for |function under O0 |function with nested | |function under O0 Target Milestone|--- |10.5 Ever confirmed|0 |1 Known to work| |7.5.0, 8.4.0 Keywords| |needs-bisection, | |wrong-debug Priority|P3 |P2 Status|UNCONFIRMED |NEW --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. It works with -O -fno-inline, it also worked at some point.