aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20060421-1.c
blob: 1bd4079b4c8251fffd08ef165635ee45fdc5e958 (plain)
1
2
3
4
5
6
7
8
9
/* This test used to ICE on ARM with -mcpu=iwmmxt.  */
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;
}