http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55361
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-16 22:38:47 UTC --- I don't think this is a gcc bug as access control is always done only at template-instantiation time.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55361
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-16 22:38:47 UTC --- I don't think this is a gcc bug as access control is always done only at template-instantiation time.