https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65797
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> --- I think we should have a goal of making backtraces always work. I don't know why we would ever want backtraces to fail. Every function should have a name and a file name. I can accept that in some cases there may be no useful line information, but it seems clear to me that a function should always have a name. I would guess that thunks do not appear in backtraces because they end with a jump instruction rather than a call. Note that my test case used -fno-optimize-sibling-calls.