https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90887
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- If the compiler itself used std::to_string and that function had a bug, I can see how it might cause this, but that function is C++11 so GCC can't use it anyway.