Hartmut Birr schrieb:
why do you change this file? Alloca.c isn't used and should be removed. If we have an alloca function somewhere in our source, it must be completely written in assembler because the stack layout and the using of ebp depends on the compilers optimisation.
I agree with you. This function should really be completely written in assembler - optimizing builds will probably create a buggy function when stack frames are omitted (for example). Anyway, there should be an i386 sub-folder where this implementation should be moved to.
Regards, Mark