Here is a complete source file which causes the error ********************************************* template <typename F> void foo (F & f) { auto f_copy = *f; } ********************************************* Compiling this on ubuntu 12.04 with g++ test.cpp -std=c++0x yields the following error test.cpp: In function ‘void foo(F&)’: test.cpp:4:17: internal compiler error: in type_unification_real, at cp/pt.c:13573
G++ 4.5 is no longer supported or maintained, for experimental C++11 features you should really try a current release. This works fine with 4.7 or trunk.
I guess we can safely close it then.