http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-11 17:38:17 UTC --- Access checking inside templates seems to be completely broken, see PR 47346 and the bugs I listed there, this could be a dup of one of them