about summary refs log tree commit diff
path: root/malloc/memusage.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-23 22:52:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-23 22:52:13 +0000
commitcfcbebf7ac5de5bf1928201b6bd9cd5e6764b4a7 (patch)
tree865093eaae5893910d88d19d38a4e36206a988c1 /malloc/memusage.c
parentd96164c33012fccc7ba3ebb4d324c7fd0c6b5836 (diff)
downloadglibc-cfcbebf7ac5de5bf1928201b6bd9cd5e6764b4a7.tar.gz
glibc-cfcbebf7ac5de5bf1928201b6bd9cd5e6764b4a7.tar.xz
glibc-cfcbebf7ac5de5bf1928201b6bd9cd5e6764b4a7.zip
Don't use volatile in exp2f.
sysdeps/ieee754/flt-32/e_exp2f.c declares two variable as "static
const volatile float".  Maybe this use of "volatile" was originally
intended to inhibit optimization of underflowing / overflowing
operations such as TWOM100 * TWOM100; in any case, it's not currently
needed, as given -frounding-math constant folding of such expressions
is properly disabled when it would be unsafe.  This patch removes the
unnecessary use of "volatile".

Tested for x86_64.

	* sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
	(TWO127): Likewise.
Diffstat (limited to 'malloc/memusage.c')
0 files changed, 0 insertions, 0 deletions