https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #8 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to R. Diez from comment #7) > 3) If GCC is built with RTTI, is it really safe to disable RTTI in my > firmware? I don't know about others, but GCC itself (the compiler) is compiled with -fno-rtti, and then linked to libstdc++ (built with the default -frtti). Thus linking -fno-rtti code with a normal libstdc++ should be OK.