http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-29 10:45:40 UTC --- Never mind, I don't think it's the same, but 39813 is also pretty weird, why error.c sees the member template as a friend it's a mystery to me...