summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/941014-1.c
blob: d31701572fc71276ccf4b3c9e572af17b4e3ef98 (plain)
1
2
3
4
5
6
7
8
9
10
11
f (to)
     char *to;
{
  unsigned int wch;
  register length;
  unsigned char tmp;
  unsigned int mult = 10;

  tmp = (wch>>(unsigned int)(length * mult));
  *to++ = (unsigned char)tmp;
}