https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107335
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to AK from comment #5) > Is this the definition of throw_bad_cast? > > https://github.com/gcc-mirror/gcc/blob/ > 16e2427f50c208dfe07d07f18009969502c25dc8/gcc/cp/rtti.c#L221 No. The definition is in libstdc++v3/src/c++11/functexcept.cc .