From f20079d219d7973ab43712adad6268901dc0eac3 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Jun 2017 22:57:28 +0000 Subject: Fix float128_private.h redefinition of SET_RESTORE_ROUNDL. As with other long double identifiers, float128_private.h has a redefinition of SET_RESTORE_ROUNDL. However, that redefinition is broken, since this is a macro with one argument being defined to take no arguments. This patch fixes the redefinition. (x86_64 needs the redefinition because SET_RESTORE_ROUNDL only changes the x87 rounding mode, whereas _Float128 arithmetic uses the SSE rounding mode instead on x86_64.) Tested for x86_64 (in conjunction with float128 patches). * sysdeps/ieee754/float128/float128_private.h [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and pass it to SET_RESTORE_ROUNDF128. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d1de2109fd..80b1479183 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2017-06-22 Joseph Myers + * sysdeps/ieee754/float128/float128_private.h + [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and + pass it to SET_RESTORE_ROUNDF128. + * sysdeps/ieee754/float128/float128_private.h: Include . -- cgit 1.4.1