------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-16 23:11 ------- Reduced testcase: struct istreambuf_iterator { mutable int* _M_sbuf; mutable int _M_c; istreambuf_iterator(int __s) throw(){} }; template<typename _CharT, typename _InIter> struct num_get { typedef istreambuf_iterator iter_type; iter_type get(iter_type __in, iter_type __end) const { return this->do_get(__in, __end); } virtual iter_type do_get(iter_type, iter_type) const; }; void _M_extract(void) { typedef num_get<char, int> __num_get_type; const __num_get_type* __ng; __ng->get(0, 0); }
But this is a dup of bug 26963 after all. *** This bug has been marked as a duplicate of 26963 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27159