https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #32 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #31) > And you can just make something like > > #ifdef I_DONT_WANT_A_BACKTRACE_ON_ABORT > [[gnu::always_inline]] void tail_to_abort(void) > { > [[musttail]] abort(); gnu::musttail instead of musttail. > } > > #define abort() tail_to_abort() > #endif