https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |redi at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Jonathan, thoughts on the library side? E.g. std::uncaught_exceptions is just declared in the header, but if it needs to be constexpr it needs some inline definition but for ABI reasons better should call the original function. std::current_exception is also defined out of line, for constant evaluation it better use some helper builtin which returns void * and construct exception_ptr from that.