https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, adding _GLIBCXX26_CONSTEXPR above for the defaulted or inline defined methods is ok and they wouldn't need to be treated like magic builtins (though I guess exception_ptr copy ctor and dtor need special thought, because they call _M_addref and _M_release which are defined out of line and those calls would need to be done as magic.