https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53223
benzejaa at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |benzejaa at gmail dot com --- Comment #9 from benzejaa at gmail dot com --- Thought I'd mention that this issue is still occurring in gcc 5.3.0. As the original reporter mentioned, this only occurs with the combination of operator*() and a template instantiation. This comes into play if I have a custom iterator that returns values instead of references, and I want to: for(auto && i : some_range) This unfortunately is impossible in template contexts right now.