http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #12 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2013-04-10 19:56:00 UTC --- Just double checked and the original testcase still ICEs. markus@x4 tmp % cat test.cpp #include <iostream> extern struct A { bool foo (); A bar (); } *a; template <class> void fn1 () { std::cout << (a->bar().foo() ? 1 : 0); } markus@x4 tmp % c++ -c test.cpp test.cpp: In function ‘void fn1()’: test.cpp:7:39: internal compiler error: unexpected expression ‘a->’ of kind arrow_expr