From: Richard Henderson Date: Mon, 30 Sep 2002 17:19:37 +0000 (-0700) Subject: New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2bf5da86df7166c04d59d3cd9d3902eb424fbbb;p=gcc.git New. From-SVN: r57657 --- diff --git a/gcc/testsuite/gcc.c-torture/compile/20020930-1.c b/gcc/testsuite/gcc.c-torture/compile/20020930-1.c new file mode 100644 index 00000000000..d2fa3748ab5 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20020930-1.c @@ -0,0 +1,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; +}