https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #15 from Marc Mutz <marc.mutz at hotmail dot com> --- It seems to be the auto* &i = reinterpret_cast<const char8_t*&>(it) The code advances `i` and expects `it` to be advanced by this as well. Guess that's wishful thinking, then?