https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90471
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- The valgrind log isn't very useful unless you configure GCC with --enable-valgrind-annotations The segfault might hint at stack exhaustion (at least I don't see a freed GC object being walked). What is the stack size limit on mingw and can you increase it?