Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/921206-1.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 double sqrt(double),fabs(double),sin(double);
4 int sxs;
5 int sys;
6 f()
7 {
8 int l;
9 int sm = -52, sx = 52;
10 char *smap;
11 for (l = 0; l < 9; l++)
12 {
13 double g;
14 int cx, cy, gx, gy, x, y;
15 gx = 2 > g / 3 ? 2 : g / 3;
16 gy = 2 > g / 3 ? 2 : g / 3;
17 for (y = 0 > cy - gy ? 0 : cy - gy; y <= (sys - 1 < cy + gy ? sys : cy + gy); y++)
18 {
19 int sx = 0 > cx - gx ? 0 : cx - gx;
20 short *ax = (short *) (y * sxs + sx);
21
22 for (x = sx; x <= (sxs - 1 < cx + gx ? sxs - 1 : cx + gx); x++)
23 {
24 double c=2.25, z=sqrt(fabs(1-c)), cz=(c>1?0.0:-10)>z?c>1?0:1:z;
25 }
26 }
27 }
28 for (l = sm; l <= sx; l++)
29 smap[l] = l > 0 ? 1 + foo(sin(.1 * l / sx)) : 1 - foo(sin(.1 * l / sm));
30 }