https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122156 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- QTaggedIterator does not define a operator[] but that is required for random access iterators.