summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20070605-1.c
blob: 8bf53253cc798672103095361d5334a590147e88 (plain)
1
2
3
4
5
6
7
8
9
10
quantize_fs_dither (unsigned width, short *errorptr, int dir)
{
  short bpreverr;
  unsigned col;
  for (col = width; col > 0; col--) 
    errorptr += dir;
  errorptr[0] = (short) bpreverr;
}