#include __attribute__((noinline, noipa)) void g (char* ptr, int y) { ptr[y] = '\0'; } void f_caller (int y) { char* pStr = alloca(SIZE); g (pStr, y); }