https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #7)
> This is related to the compiler saving the return address for noreturn
> sibcalls, like in
> 
>   void g(void) __attribute__((noreturn));
>   void f(void) { g(); }
> 
> Maybe we should have an option like "-fimprove-debugging-experience" that
> defaults to true only for -O0 and -Og (and maybe -O1)?

This was discussed in PR 10837.

Reply via email to