https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115312
--- Comment #3 from Lewis Hyatt <lhyatt at gcc dot gnu.org> --- (In reply to Brecht Sanders from comment #2) > I have made a native Windows MinGW-w64 build where the lines "gcc_assert > (!the_parser);" were commented out in file gcc/cp/parser.cc and got > confirmation this successfully works around the issue. Thanks! Do you mind please confirming, are you building it with the following downstream patch in place (which is not part of GCC itself as of now): https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/0021-PR14940-Allow-a-PCH-to-be-mapped-to-a-different-addr.patch ? If so, it would be interesting if possible to confirm whether the assert still triggers without that patch.