https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66488
--- Comment #7 from Stanisław Halik <sthalik at misaki dot pl> --- In ggc-page.c there's an assumption that sizeof long == sizeof void* in absence of other information. That was the reason the build was passing clearly with valgrind on amd64 Linux. I propose a fix to gcc/config/i386/xm-mingw32.h. Not completely sure this is the right place.