spin2cpp icon indicating copy to clipboard operation
spin2cpp copied to clipboard

Need to properly implement AST_SCOPE and C dynamic arrays

Open totalspectrum opened this issue 3 years ago • 0 comments

Local variables allocated on the stack should be de-allocated at the end of a scope. Presently they are all allocated throughout the function, and there is no facility for doing dynamic arrays (other than __builtin_alloca(), which has its own problems as related in another issue).

totalspectrum avatar Jun 17 '21 16:06 totalspectrum