Internal compiler error with option -fno-rtti

Alexander Zvyagin zvyagin@gams.ihep.su
Wed Dec 1 06:53:00 GMT 1999


Dear GCC developers,

here is code (two lines):
#include <typeinfo>
int main(void) { typeid(int); }

$ g++ -fno-rtti -c 1.c
1.c: In function `int main()':
1.c:2: Internal compiler error.
1.c:2: Please submit a full bug report.

gcc version 2.95.2 19991024 (release)

The message from compiler should be like
"You can not compile code with RTTI features with option -fno-rtti"

With best wishes,
Alexander Zvyagin.



More information about the Gcc-bugs mailing list