Document gcov-io (PR gcov-profile/84735).
[official-gcc.git] / gcc / testsuite / gcc.dg / Walloca-8.c
blobb64af09179186242167080ed2aaad26b461116e9
1 /* { dg-do compile } */
2 /* { dg-require-effective-target alloca } */
3 /* { dg-options "-Walloca-larger-than=2000 -O2" } */
5 void *p;
6 void
7 foo (__SIZE_TYPE__ len)
9 if (len < 2000 / sizeof (void *))
10 p = __builtin_alloca (len * sizeof (void *));
11 else
12 p = __builtin_malloc (len * sizeof (void *));