PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr32540-2.c
blobf7fa38de114dc801a2a93a176bba8afd7d40bccb
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftree-pre" } */
4 int f(void);
5 void acceptloop_th(int *t, int options) {
6 if (f()) options |= 0x1 << 0;
7 if (f()) options |= 0x1 << 1;
8 if (f()) options |= 0x1 << 2;
9 if (f()) options |= 0x1 << 3;
10 if (f()) options |= 0x1 << 4;
11 if (f()) options |= 0x1 << 5;
12 if (f()) options |= 0x1 << 6;
13 if (f()) options |= 0x1 << 7;
14 if (f()) options |= 0x1 << 8;
15 if (f()) options |= 0x1 << 9;
16 if (f()) options |= 0x1 << 10;
17 if (f()) options |= 0x1 << 11;
18 if (f()) options |= 0x1 << 12;
19 if (f()) options |= 0x1 << 13;
20 if (f()) options |= 0x1 << 14;
21 if (f()) options |= 0x1 << 15;
22 #if(__SIZEOF_INT__ >= 4)
23 if (f()) options |= 0x1 << 16;
24 if (f()) options |= 0x1 << 17;
25 if (f()) options |= 0x1 << 18;
26 if (f()) options |= 0x1 << 19;
27 if (f()) options |= 0x1 << 20;
28 if (f()) options |= 0x1 << 21;
29 if (f()) options |= 0x1 << 22;
30 if (f()) options |= 0x1 << 23;
31 if (f()) options |= 0x1 << 24;
32 if (f()) options |= 0x1 << 25;
33 if (f()) options |= 0x1 << 26;
34 #endif
35 if (f()) *t = options;