powerpc: Fix inline feraiseexcept, feclearexcept macros

System Internals / glibc - Adhemerval Zanella [linux.vnet.ibm.com] - 3 March 2015 09:01 UTC

This patch fixes the inline feraiseexcept and feclearexcept macros for powerpc by casting the input argument to integer before operation on it.

It fixes BZ#17776.

85b2904 powerpc: Fix inline feraiseexcept, feclearexcept macros
ChangeLog | 9 +
NEWS | 8 +-
math/Makefile | 3 +-
math/test-fenvinline.c | 351 +++++++++++++++++++++++++++++++++++++
sysdeps/powerpc/bits/fenvinline.h | 52 +++---
5 files changed, 398 insertions(+), 25 deletions(-)

Upstream: sourceware.org


  • Share