http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56807
--- Comment #3 from Andrew Church <achurch+gcc at achurch dot org> 2013-04-02 07:53:08 UTC --- The __chkstk_ms call comes from allocate_stack_worker_probe_<mode> in i386.md, which is used in allocate_stack if the CHECK_STACK_LIMIT symbol is defined to a nonzero value. CHECK_STACK_LIMIT defaults to zero, but it's set to 4000 for mingw32.