https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63500
François Dumont <fdumont at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.0 --- Comment #8 from François Dumont <fdumont at gcc dot gnu.org> --- For now we just skip the check when input iterator do not expose lvalue reference. Thanks for the report.