aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20121010-1.c
blob: 9fac9b820e37bd4ef4954ff80b0088a8315d34da (plain)
1
2
3
4
5
6
7
8
9
10
int _IO_getc(int*);
read_long(int *fp)
{
  unsigned char b0, b1, b2, b3;
  b0 = _IO_getc (fp);
  b1 = _IO_getc (fp);
  b2 = _IO_getc (fp);
  b3 = _IO_getc (fp);
  return ((int)(((((b3 << 8) | b2) << 8) | b1) << 8) | b0);
}