* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr52714.c
blob38a4ab57cef3449556d24581949ff2f117c33ba5
1 /* { dg-require-effective-target alloca } */
3 int __re_compile_fastmap(unsigned char *p)
5 unsigned char **stack;
6 unsigned size;
7 unsigned avail;
9 stack = __builtin_alloca(5 * sizeof(unsigned char*));
10 if (stack == 0)
11 return -2;
12 size = 5;
13 avail = 0;
15 for (;;) {
16 switch (*p++) {
17 case 0:
18 if (avail == size)
19 return -2;
20 stack[avail++] = p;
24 return 0;