gcc support for typeid