aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20060421-1.c
blob: 05396d3dcc1df79ed9af0c1ab93a7fb44b4554eb (plain)
1
2
3
4
5
6
7
8
9
10
11
/* This test used to ICE on ARM with -mcpu=iwmmxt.  */
/* { dg-require-stack-size "249*8+1" } */

void
foo (void)
{
  long long int a;
  unsigned long b[249]; /* >= 249 causes failure */
  register unsigned int c;
  b[c] = (a & (1ULL << c)) ? 1 : 0;
}