Debian Codegraph @

gcc/testsuite/gcc.dg/field-merge-19.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fchecking" } */
3
4 /* PR tree-optimization/118344 */
5
6 /* This used to ICE attempting to extend a mask variable after testing the
7 wrong mask variable. */
8
9 int d, e, g, h, i, c, j;
10 static short k;
11 char o;
12 static int *p;
13 static long *a;
14 int b[0];
15 int q(int s, int t, int *u, int *v) {
16 for (int f = 0; f < s; f++)
17 if ((t & v[f]) != u[f])
18 return 0;
19 return 1;
20 }
21 int w(int s, int t) {
22 int l[] = {t, t, t, t}, m[] = {e, e, 3, 1};
23 int n = q(s, d, l, m);
24 return n;
25 }
26 int x(unsigned s) {
27 unsigned r;
28 if (s >= -1)
29 return 1;
30 r = 10000000;
31 while (s > 1 / r)
32 r /= 2;
33 return g ? 2 : 0;
34 }
35 void y() {
36 for (;;) {
37 b[w(8, *p)] = h;
38 for (; a + k; j = o)
39 i &= c = x(6) < 0;
40 }
41 }