<code> #include <typeinfo> using namespace std; class A { public: A (); virtual int a() = 0; }; int main(void) { A *B; typeid(typeid(*B)).name(); } </code> usage: g++ file.cpp Reproducible: Always Steps to Reproduce: 1.g++ file.cpp Actual Results: file.cpp: In function `int main()': file.cpp:16: internal compiler error: in expand_expr, at expr.c:8943 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccG94gSk.out file, please attach this to your bugreport. Expected Results: no crash
Created attachment 41161 [details] by request Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccG94gSk.out file, please attach this to your bugreport.
I just tested to confirm this is still happening in 3.4.4 on amd64. Have you reported this upstream?
Works fine with gcc-4.0.1 on amd64 btw.
Keeping this open isn't doing us any good. Waiting on the upstream patch, so marking this as later.