| 1 |
|
| 2 |
/* Avoid inclusion of alloca.h, unavailable on some systems. */ |
| 3 |
#define alloca __builtin_alloca |
| 4 |
|
| 5 |
__attribute__((noinline, noipa)) |
| 6 |
void g (char* ptr, int y) |
| 7 |
{ |
| 8 |
ptr[y] = '\0'; |
| 9 |
} |
| 10 |
|
| 11 |
void f_caller (int y) |
| 12 |
{ |
| 13 |
char* pStr = alloca(SIZE); |
| 14 |
g (pStr, y); |
| 15 |
} |