From fae1aa8d226ce860124efd67ede03004b19b89e2 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 10 Mar 2015 23:43:50 -0400 Subject: hppa: Fix feholdexcpt and fesetenv (Bug 18110). The constraints in the inline assembly in feholdexcept and fesetenv are incorrect. The assembly modifies the buffer pointer, but doesn't express that in the constraints. The simple fix is to remove the modification of the buffer pointer which is no longer required by the existing code, and adjust the one constraint that did express the modification of bufptr. The change fixes test-fenv when glibc is compiled with recent gcc. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index cea5b0e310..26b6928f83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-03-11 John David Anglin + + [BZ #18110] + * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in + asms. + * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise. + 2015-03-11 Joseph Myers * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro. -- cgit v1.2.3