Put #pragma alloca on the first line of your .c file. This should do the trick. What version of the xlc compiler are you using? There is a problem with 01.01.0000.0001 of the C compiler.