]> git.ipfire.org Git - thirdparty/glibc.git/commit
Mark fegetround pure (bug 16296).
authorJoseph Myers <joseph@codesourcery.com>
Tue, 15 Sep 2015 20:36:50 +0000 (20:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 15 Sep 2015 20:36:50 +0000 (20:36 +0000)
commit223d1cacc5dafe8af53e84608c2d130721c4edcd
tree87c52d1da19bfde3a8822493e261442afd83360d
parent0b87419b690d1711697ed95808527400910ff997
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.
ChangeLog
NEWS
include/fenv.h
math/fenv.h