Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/921206-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
double sqrt(double),fabs(double),sin(double); int sxs; int sys; f() { int l; int sm = -52, sx = 52; char *smap; for (l = 0; l < 9; l++) { double g; int cx, cy, gx, gy, x, y; gx = 2 > g / 3 ? 2 : g / 3; gy = 2 > g / 3 ? 2 : g / 3; for (y = 0 > cy - gy ? 0 : cy - gy; y <= (sys - 1 < cy + gy ? sys : cy + gy); y++) { int sx = 0 > cx - gx ? 0 : cx - gx; short *ax = (short *) (y * sxs + sx); for (x = sx; x <= (sxs - 1 < cx + gx ? sxs - 1 : cx + gx); x++) { double c=2.25, z=sqrt(fabs(1-c)), cz=(c>1?0.0:-10)>z?c>1?0:1:z; } } } for (l = sm; l <= sx; l++) smap[l] = l > 0 ? 1 + foo(sin(.1 * l / sx)) : 1 - foo(sin(.1 * l / sm)); }