http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45959
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-11 16:49:52 UTC --- (In reply to comment #6) > #pragma interface > template<class T> struct foo; > template<class T> > struct foo<T*&> : foo<T&> { > foo<T*&>(T* t) : foo<T&>(*t) { } > }; This looks like a different bug that just produces the same error message. This testcase works fine with pre-4.6, and is not fixed in 4.5 by the patch for 45959.