https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67371
Mikhail Maltsev <miyuki at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |miyuki at gcc dot gnu.org --- Comment #5 from Mikhail Maltsev <miyuki at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #4) > The fix might be as simple as: I tried something similar but got: ./constexpr_throw.cc:4:15: error: call to non-constexpr function 'void* __cxa_allocate_exception(long unsigned int)' throw 1; or: ./constexpr_throw.cc:4:9: error: call to non-constexpr function 'void __cxa_rethrow()' throw;