https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111243
--- Comment #15 from Alex Mohr <amohr at amohr dot org> --- Thank you Richard B, Richard G, Xi, Jonathan, Jakub, and Eric for all the great info. Much appreciated. With more experience using '-Og -fno-inline' I've found that sometimes inspecting local variables doesn't work -- "<optimized out>". So I'll continue using -O0 for now. To offer my perspective as a user, I think the manual should step back a bit from recommending -Og as the default opt level for the edit/debug cycle, at least in its current state. Or at the very least, some mention of caveats would be valuable. That said I love that you're pursuing this direction and I'm eager to see how this develops going forward. Cheers!