------- Comment #9 from ktietz at gcc dot gnu dot org 2010-09-20 12:07 ------- (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/bugzilla/show_bug.cgi?id=45694