This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Option --fno-rtti
- To: EGCS-BUGS at EGCS dot CYGNUS dot COM
- Subject: Option --fno-rtti
- From: Alexander Zvyagin <zvyagin at mx dot ihep dot su>
- Date: Fri, 02 Apr 1999 19:30:22 GMT+03:00
Dear egcs developers,
This is program (one line only):
int main(void) {int i; typeid(i);}
g++ -c -fno-rtti file.c
1.c: In function `int main()':
1.c:4: Internal compiler error.
1.c:4: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
1.c:4: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
The option -fno-rtti is used incorrectly in the example. It is expected
message "warning: requesting typeid of object without -frtti".
gams:~/tmp> g++ -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.
66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
gams:~/tmp> uname -a
Linux gams 2.0.32 #22 Mon Jan 5 22:42:45 MSK 1998 i686 unknown
With best wishes,
Alexander Zvyagin.