https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> --- That's not a crash, it's a warning. And it looks like a separate problem, since it comes from vector::reserve not vector::insert. Please file a new bug for it instead.