https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96356

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes it's expected. The typeid operator has to return a std::typeinfo object. If
you disable generation of std::typeinfo objects, what is it supposed to return?

The savings from -fno-rtti come from not generating all the RTTI objects, not
just from refusing to use that info at runtime.

Reply via email to