https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- D'oh, I didn't even reuse the returned iterator, as the 'auto end = c.end();' statement is inside the loop, so it's completely pointless.