https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811
--- Comment #23 from Martin Liška <marxin at gcc dot gnu.org> --- Isn't that caused by a undefined behavior in compiler? Can you please run it in valgrind: valgrind --leak-check=yes --trace-children=yes ... Can you please test it with compiler that is built w/o optimization: make all-host -k CFLAGS="-O0 -g" CXXFLAGS="-O0 -g"