------- Comment #7 from rguenth at gcc dot gnu dot org 2008-09-01 16:02 ------- Reduced testcase:
template <typename T> class Cdeque { typedef T *pointer; class iterator { typedef typename Cdeque<T>::pointer pointer; pointer operator->(); }; }; template <typename T> T* Cdeque<T>::iterator::operator->() { } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37314