aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20120927-1.c
blob: 7cf09ead503008a3e325de87a422dc581312262c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
void ff(int);
int isc_fsaccess_set(unsigned int access) {
 unsigned int mode;
 unsigned int bits;
 mode = 0;
 bits = 0x00000021;
 if ((access & bits) != 0) 
  {
   mode |= 0400;
   access &= ~bits;
  }
 access &= ~bits; 
 bits <<= (10);
 if ((access & bits) != 0)
   access &= ~bits; 
 bits = 0x00000012;
 if ((access & bits) != 0)
 {
   mode |= 0200; 
   access &= ~bits; 
 }
 mode |= (0200 >> 3);
 access &= ~bits; 
 bits <<= (10);
 if ((access & bits) != 0)
   mode |= ((0200 >> 3) >> 3);
 bits = 0x00000044;
 if ((access & bits) != 0)
 { 
    mode |= 0100;
    access &= ~bits;
 }
 if ((access & bits) != 0)
 {
   mode |= (0100 >> 3);
   access &= ~bits; 
 }; 
 bits <<= (10);
 if ((access & bits) != 0)
   mode |= ((0100 >> 3) >> 3);
 ff(mode) ;
}