diff options
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/ia64/fenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/ia64/fenv.c b/lib/msun/ia64/fenv.c index 0777acc..95a5809 100644 --- a/lib/msun/ia64/fenv.c +++ b/lib/msun/ia64/fenv.c @@ -44,6 +44,6 @@ feupdateenv(const fenv_t *envp) __stfpsr(&fpsr); __ldfpsr(*envp); - feraiseexcept(fpsr & FE_ALL_EXCEPT); + feraiseexcept((fpsr >> _FPUSW_SHIFT) & FE_ALL_EXCEPT); return (0); } |