http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-11 10:35:28 UTC --- I've just hit another variation of this bug myself. Reduced: class F { void f(); }; template<typename> void b() { (void) &F::f; } template void b<int>();