https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105336
Arsen Arsenović <arsen at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2024-07-16 --- Comment #8 from Arsen Arsenović <arsen at gcc dot gnu.org> --- NVM - I've completely misread the docs (all of those flags are a no-op). it is enough to specify -fomit-frame-pointer rather than any opt level to cause this complete invoc: g++ -g3 -std=c++23 -o coroutine-asan{,.cc} -fsanitize=address -fomit-frame-pointer && ./coroutine-asan so, maybe this is some other part of the stack (maybe libsanitizers? should it rely on frame pointers even with -g? I'm not sure how those interact with coros)