about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-07-21 09:47:57 -0700
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-07-21 09:47:57 -0700
commita4c9be1b8b5edd533d31e7f9a682b891f696bb91 (patch)
treedb7ba89725fdafdfe62438a06809edc192261a08 /sysdeps
parent2d9b85e7e7b35b40682fdf8343ac0eccbae83985 (diff)
downloadglibc-a4c9be1b8b5edd533d31e7f9a682b891f696bb91.tar.gz
glibc-a4c9be1b8b5edd533d31e7f9a682b891f696bb91.tar.xz
glibc-a4c9be1b8b5edd533d31e7f9a682b891f696bb91.zip
Fix cexpl when compiled with latest GCC
	* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
	math_force_eval.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_expl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 15639d1da1..fd7700c7fa 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -192,6 +192,7 @@ __ieee754_expl (_Float128 x)
 	 with maximum error in [-2^-16-2^-53,2^-16+2^-53]
 	 less than 4.8e-39.  */
       x22 = x + x*x*(P1+x*(P2+x*(P3+x*(P4+x*(P5+x*P6)))));
+      math_force_eval (x22);
 
       /* Return result.  */
       fesetenv (&oldenv);