Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / Walloca-6.c
blobebe08aec838ba8cdc9cbd32961ffb8ffeeb2332c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target alloca } */
3 /* { dg-options "-Walloca-larger-than=256 -O2" } */
5 void f (void*);
6 void g (__SIZE_TYPE__ n)
8 // No warning on this case. Range is easily determinable.
9 if (n > 0 && n < 256)
10 f (__builtin_alloca (n));