2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr24750-1.c
blob58b1ea2efcdcc23a9310ed77a084da04ce462940
1 extern void free (void *);
2 extern int unknown;
3 extern int n0;
4 extern short *s0;
5 extern int n1;
6 extern short *s1;
7 extern short *s2;
8 extern int *n2;
9 extern int *n3;
10 extern int n4;
11 extern short *n5;
12 extern int *n6;
13 extern int n7;
14 extern char *unc;
16 void
17 f (short *sp)
19 int j = 0;
20 int i = 0;
21 int n8 = 0;
22 int n9 = 0;
23 short *s3 = sp;
24 short s4 = (short) unknown;
25 short s5 = (short) unknown;
26 char *c0 = unc;
27 int n10 = 0;
28 int n11 = 0;
29 int u0 = unknown;
30 int k = 0;
32 for (n8 = 1; n8 <= n7; n8++)
34 for (i = 1; i <= n0; i++)
35 c0[i] = 0;
36 for (i = 1; i <= u0; i++) { }
37 for (i = sp[0]; i != -32767; i = sp[i])
38 if (s4 == u0)
39 for (j = 1; j <= u0; j++)
40 if (!c0[s3[j]])
41 break;
43 for (n9 = 1; n9 <= n0; n9++) s1[unknown + n9] = n9;
44 for (i = 1; i <= n1; i++)
45 for (j = 1; j <= s4; j++)
46 s3[j] = s1[s3[j]];
47 for (n8 = 1; n8 <= n7; n8++)
48 for (i = 1; i <= s5; i++)
49 s3[i] = s1[s3[i]];
50 for (n9 = 1; n9 <= n0; n9++) sp[s1[n9]] = unknown;
51 for (n10 = 2; n10 < n4; n10++) { }
52 for (k = 1; k <= unknown; k++)
54 s4 = s0[n5[u0]];
55 for (i = 1; i <= s4; i++) { }
56 for (j = 1; j <= s4; j++)
57 if (n2[1] != 0)
58 if (i == unknown)
59 unknown = n3[unknown];
60 n6[u0] = n10;
62 for (k = n7; k >= n11; k--)
63 if (n2[k] == -32767)
64 break;
65 free (c0);
67 for (i = 1; i <= n7; i++)
69 for (j = 1; j <= s4; j++) { }
70 for (n8 = s2[unknown]; n8 != -32767; n8 = s2[n8]) { }
71 for (j = 1; j <= s5; j++) { }