* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr35595.c
blobd88cedc5685a963759f4134c8122a3608e6ecadb
1 /* { dg-require-effective-target int32plus } */
2 typedef signed int __int32_t;
3 typedef unsigned int __uint32_t;
4 typedef union
6 float value;
7 __uint32_t word;
9 ieee_float_shape_type;
10 static const float two23 = 8.3886080000e+06;
11 static const float pi = 3.1415927410e+00;
12 static const float zero = 0.0000000000e+00;
13 static float
14 sin_pif (float x)
16 float y = 0;
17 float z = 0;
18 __int32_t n = 0;
19 __int32_t ix = 0;
22 ieee_float_shape_type gf_u = { 0 };
23 (ix) = gf_u.word;
25 while (0);
26 if (z == y)
28 if (ix < 0x4b800000)
30 if (ix < 0x4b000000)
31 z = y + two23;
34 ieee_float_shape_type gf_u;
35 gf_u.value = (z);
36 (n) = gf_u.word;
38 while (0);
41 if (n == 0)
42 y = __kernel_sinf (pi * y, zero, 0);
45 float
46 __ieee754_lgammaf_r (float x, int *signgamp)
48 float t = 0;
49 __int32_t hx = 0;
52 ieee_float_shape_type gf_u = { 0 };
53 (hx) = gf_u.word;
55 while (0);
56 if (hx < 0)
57 t = sin_pif (x);
58 return 0;