1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-add-options stack_size } */ #ifdef STACK_SIZE # define A_SIZE (STACK_SIZE/sizeof(int)) #else # define A_SIZE 16384 #endif foo () { int a[A_SIZE]; bar (a); }