diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | math/bits/mathcalls.h | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> + + * math/bits/mathcalls.h (totalorder, totalordermag): Replace + const attribute with pure attribute. + 2019-09-04 Lukasz Majewski <lukma@denx.de> * sysdeps/unix/sysv/linux/kernel-features.h diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index 66832c7827..94690c3b42 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -373,13 +373,14 @@ __MATHDECL_1 (int, canonicalize,, (_Mdouble_ *__cx, const _Mdouble_ *__x)); #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN /* Total order operation. */ -__MATHDECL_1 (int, totalorder,, (const _Mdouble_ *__x, const _Mdouble_ *__y)) - __attribute__ ((__const__)); +__MATHDECL_1 (int, totalorder,, (const _Mdouble_ *__x, + const _Mdouble_ *__y)) + __attribute__ ((__pure__)); /* Total order operation on absolute values. */ __MATHDECL_1 (int, totalordermag,, (const _Mdouble_ *__x, const _Mdouble_ *__y)) - __attribute__ ((__const__)); + __attribute__ ((__pure__)); /* Get NaN payload. */ __MATHCALL (getpayload,, (const _Mdouble_ *__x)); |