Under gcc version 4.3.2 (Debian 4.3.2-1.1) and cc version 4.3.4 20090804 (release) 1 (GCC) Target: i686-pc-cygwin i obtained same result after testing <typeinfo> features from tutorial http://www.cplusplus.com/doc/tutorial/typecasting/ there :
http://old.nabble.com/file/p28892128/tutor.cpp tutor.cpp After "g++ tutor.cpp" on both debian and cygwin i obtained same result: a is: P5CBase b is: P5CBase c is: P5CBase *a is: 5CBase *b is: 8CDerived *c is: 8CDerived -- View this message in context: http://old.nabble.com/gcc-%3Ctypeinfo%3E-tp28892128p28892128.html Sent from the gcc - bugs mailing list archive at Nabble.com.