https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107135
--- Comment #6 from cqwrteur <unlvsur at live dot com> --- Comment on attachment 53663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53663 Define <bits/functexcept.h> function for freestanding std::terminate() or std::abort() or __builtin_trap()?? std::terminate() has the issue of set_terminate() which causes trouble. GCC optimizes __builtin_trap() best but it is not standard. What about __builtin_abort()???