[Bug libstdc++/107335] call to throw_bad_cast even with -fno-exceptions

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 20 20:30:38 GMT 2022


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 .


More information about the Gcc-bugs mailing list