summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20040730-1.c
blob: 6f224e9a32893cf59360ac22df95f2c52873d04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*  PR tree-opt/16827
    This used to ICE in tree-ssa-loop-im.c */

extern unsigned short dev_roles[];
void super_1_sync(int *rdev2)
{
 int i;
 int max_dev = 0;

 for (i =0;i<20;i++)
  if (rdev2[i] > max_dev)
   max_dev = rdev2[i];

 for (i=0; i<max_dev;i++)
  dev_roles[max_dev] = 0xfffe;

}