diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-30 17:19:37 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-30 17:19:37 +0000 |
| commit | 5a1bf3680c4b08dd39b46a156a73b404770db163 (patch) | |
| tree | 93479dcb95d6d0a1b9903837a7d96eb8edd6e59a | |
| parent | 2b9b5c6fbf40afa0b3415a7f06c94052f4464494 (diff) | |
| download | ppe42-gcc-5a1bf3680c4b08dd39b46a156a73b404770db163.tar.gz ppe42-gcc-5a1bf3680c4b08dd39b46a156a73b404770db163.zip | |
New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57657 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20020930-1.c | 10 |
1 files changed, 10 insertions, 0 deletions
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; +} |

