Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/machine/spu/headers/feholdexcept.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/machine/spu/headers/feholdexcept.h b/newlib/libm/machine/spu/headers/feholdexcept.h
index d75695afa..9f6bd521b 100644
--- a/newlib/libm/machine/spu/headers/feholdexcept.h
+++ b/newlib/libm/machine/spu/headers/feholdexcept.h
@@ -44,7 +44,7 @@ static __inline int _feholdexcept(fenv_t *envp)
fpscr = spu_mffpscr();
*envp = __pack_fpscr(fpscr);
- env = env & ~FE_ALL_EXCEPT;
+ env = *envp & ~FE_ALL_EXCEPT;
spu_mtfpscr(__unpack_fpscr(env));
return (0);
}