hppa: Fix feholdexcpt and fesetenv (Bug 18110).
commitfae1aa8d226ce860124efd67ede03004b19b89e2
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 11 Mar 2015 03:43:50 +0000 (10 23:43 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 11 Mar 2015 06:48:22 +0000 (11 02:48 -0400)
treea78b3c667766a495d00e98a21152df1994bec88a
parent068a6274556f9f362443648f4fd47525c8cf2dba
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
NEWS
sysdeps/hppa/fpu/feholdexcpt.c
sysdeps/hppa/fpu/fesetenv.c