diff options
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.mips | 3 | ||||
-rw-r--r-- | ports/sysdeps/mips/bits/nan.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 936ab17..8954f9a 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,5 +1,8 @@ 2013-02-20 Thomas Schwinge <thomas@codesourcery.com> + * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change + __attribute_used__ to __attribute__ ((unused)). + * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add __attribute_used__. diff --git a/ports/sysdeps/mips/bits/nan.h b/ports/sysdeps/mips/bits/nan.h index 71f372d..8f4666d 100644 --- a/ports/sysdeps/mips/bits/nan.h +++ b/ports/sysdeps/mips/bits/nan.h @@ -50,7 +50,7 @@ # endif static union { unsigned char __c[4]; float __d; } __nan_union - __attribute_used__ = { __nan_bytes }; + __attribute__ ((unused)) = { __nan_bytes }; # define NAN (__nan_union.__d) #endif /* GCC. */ |