Oops, don't return alloca's pointer
Add C 'loop' function