http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52529
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-08 08:25:48 UTC --- A<M>().foo<T>(x); Should be: A<M>().template foo<T>(x);
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52529
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-08 08:25:48 UTC --- A<M>().foo<T>(x); Should be: A<M>().template foo<T>(x);