about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-15 20:36:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-15 20:36:50 +0000
commit223d1cacc5dafe8af53e84608c2d130721c4edcd (patch)
tree87c52d1da19bfde3a8822493e261442afd83360d /ChangeLog
parent0b87419b690d1711697ed95808527400910ff997 (diff)
downloadglibc-223d1cacc5dafe8af53e84608c2d130721c4edcd.tar.gz
glibc-223d1cacc5dafe8af53e84608c2d130721c4edcd.tar.xz
glibc-223d1cacc5dafe8af53e84608c2d130721c4edcd.zip
Mark fegetround pure (bug 16296).
Bug 16296 notes that fegetround is a pure function and should be
marked as such in fenv.h.  This patch implements that.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by this patch).

	[BZ #16296]
	* math/fenv.h (fegetround): Use __attribute_pure__.
	* include/fenv.h (__fegetround): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 56782dd4a7..fd281993c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #16296]
+	* math/fenv.h (fegetround): Use __attribute_pure__.
+	* include/fenv.h (__fegetround): Likewise.
+
 	[BZ #18595]
 	* math/s_ctan.c (__ctan): Force underflow exception for results
 	whose real or imaginary part has small absolute value.