Sorry about that. I guess no one tried to build Emacs with MSVC
during the entire pretest period. Perhaps in the future you could do
that, so that any such problems could be fixed in time.
I'd like to.
Or maybe it should say
!if $(USE_CRT_DLL)
instead?
Yes, seems more appropriate.
Not only MinGW, but I believe Fabrice (CC'ed) also builds Emacs with
MSVC and uses GC_MARK_STACK.
Maybe the the bug is introduced after Emacs 24.2, which can be built and dumped with GC_MARK_STACK.
Regarding the GC_MARK_STACK, I want to provide a little more information: the error occurred after the first Fgarbage_collect while loading loadup.el, and some important functions are not marked and thus garbage collected. As in alloc.c the `car' of a cons is set to `Vdead' when freed, I suppose this is where the "DEAD" comes from.