https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80926
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, I think the only thing that can be done is make sure one provides attributes for the longjmp etc. declarations. glibc does that: extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __THROWNL __attribute__ ((__noreturn__)); etc. So, AIX needs to do that too, and people who declare it themselves should as well if they care about this. Given the existance of the builtins that do something different I'm afraid there is nothing else that can be done.