http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54198 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-08-08 15:26:43 UTC --- I actually think GCC is correct, A <B> causes all member functions to be instantiated.