aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/msp.c
blob: 263a873e26426b3a92440c77d8c56e0e7e214f79 (plain)
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);
}