------- Comment #5 from pinskia at gcc dot gnu dot org 2009-07-28 23:03 ------- If it is getting you an internal error, then it is usually it is because the attachments are too big.
As for the other issue, there is a C++ defect report about this case, which consider this as dependent but a member as non dependent and all confusing happens with namelookup and such. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40897