aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20101216-1.c
blob: 0c58898c13f1987cfaebc7b6ae8fa95bba677529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
typedef union
{
  double value;
  struct
  {
    __uint32_t msw;
    __uint32_t lsw;
  } parts;
} ieee_double_shape_type;
two52= 4.50359962737049600000e+15,
w6 = -1.63092934096575273989e-03;
double sin_pi(double x)
{
 double y,z;
 __int32_t n,ix;
ieee_double_shape_type gh_u;
 gh_u.value = (x); 
(ix) = gh_u.parts.msw;
                if(ix<0x43300000)
 z = y+two52;
 ieee_double_shape_type gl_u;
 gl_u.value = (z);
 (n) = gl_u.parts.lsw;
  n &= 1;
 switch (n)
 {
     case 0:
__kernel_sin();
     }
}