Debian Codegraph @

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

raw
1 /* { dg-additional-options "-fpermissive" } */
2
3 typedef signed int __int32_t;
4 typedef unsigned int __uint32_t;
5 typedef union
6 {
7 double value;
8 struct
9 {
10 __uint32_t msw;
11 __uint32_t lsw;
12 } parts;
13 } ieee_double_shape_type;
14 two52= 4.50359962737049600000e+15,
15 w6 = -1.63092934096575273989e-03;
16 double sin_pi(double x)
17 {
18 double y,z;
19 __int32_t n,ix;
20 ieee_double_shape_type gh_u;
21 gh_u.value = (x);
22 (ix) = gh_u.parts.msw;
23 if(ix<0x43300000)
24 z = y+two52;
25 ieee_double_shape_type gl_u;
26 gl_u.value = (z);
27 (n) = gl_u.parts.lsw;
28 n &= 1;
29 switch (n)
30 {
31 case 0:
32 __kernel_sin();
33 }
34 }