Message ID | 0b8092e6-1be4-8953-dbdd-77922469a5b2@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
On Mon, 15 Aug 2016, Stefan Liebler wrote: > Hi Joseph, > > the macro FPC_FLAGS_SHIFT is defined in fenv_libc.h, which is not included. > The variable newexcepts is unused. > See diff below. Thanks, I'll include this fix when I commit.
diff --git a/sysdeps/s390/fpu/fesetexcept.c b/sysdeps/s390/fpu/fesetexcept.c index 4728f3e..e875f13 100644 --- a/sysdeps/s390/fpu/fesetexcept.c +++ b/sysdeps/s390/fpu/fesetexcept.c @@ -18,11 +18,12 @@ #include <fenv.h> #include <fpu_control.h> +#include <fenv_libc.h> int fesetexcept (int excepts) { - fexcept_t temp, newexcepts; + fexcept_t temp; _FPU_GETCW (temp); temp |= (excepts & FE_ALL_EXCEPT) << FPC_FLAGS_SHIFT;