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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What could work (but still hacky) would be
#define abort(...) gcc_target_abort ()
extern inline __attribute__((__always_inline__)) void
gcc_target_abort (void)
{
  __builtin_abort ();
}

Reply via email to