-mno-stack-arg-probe

naka さんに -mno-stack-arg-probe を教えてもらった。知らなかったな。

alloca() is a "semi-standard" C function (from BSD?, but supported by most C implementations) that is used to allocate memory from the stack. On Windows this function is also used for stack probing. As such, alloca() is referenced in PE binaries, build e.g. by the Cygwin GCC. You can set -mno-stack-arg-probe to supress those references.