summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020930-1.c
blob: d2fa3748ab551ab0549e82731d2d1875f8c95070 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR c/8002 */

float expm1f(float x) {
     union {
         float value;
         unsigned word;
     } sf_u;
     sf_u.word = (unsigned) x * 2;
     return x + sf_u.value;
}