diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 22:04:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 22:04:55 +0000 |
commit | b575c52b86fe0c00adec925e356eb72cf95b23a7 (patch) | |
tree | a52b53167347aaa29aa9a712ebffbef4ef3ba0d7 /sysdeps/ieee754 | |
parent | efa8adf5f9bb4ababd27d13e37d97687dfa0a8b4 (diff) | |
download | glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.tar.gz glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.tar.xz glibc-b575c52b86fe0c00adec925e356eb72cf95b23a7.zip |
Update.
2004-04-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__ attribute to keep gcc quiet.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/bits/nan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/ieee754/bits/nan.h b/sysdeps/ieee754/bits/nan.h index 95de220e97..4d4062cfcb 100644 --- a/sysdeps/ieee754/bits/nan.h +++ b/sysdeps/ieee754/bits/nan.h @@ -46,7 +46,8 @@ # define __nan_bytes { 0, 0, 0xc0, 0x7f } # endif -static union { unsigned char __c[4]; float __d; } __nan_union = { __nan_bytes }; +static union { unsigned char __c[4]; float __d; } __nan_union + __attribute_used__ = { __nan_bytes }; # define NAN (__nan_union.__d) #endif /* GCC. */ |