------- Comment #10 from t66667 at gmail dot com 2010-09-21 05:57 ------- (In reply to comment #9) > (In reply to comment #8) > > This issue is caused by the fact that __chkstk clobbers r10 (see its > constrains), which is used here as argument-register for this nested function. > So something is broken here about register-clobbering. I would welcome if my > modified stack-allocation for windows would get reviewed and applied. This new > implementation avoid this useless register-clobbering ... But well, this seems > to me like a bug in interpretation of register clobbering here ... >
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01631.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45694