From 85b290451e4d3ab460a57f1c5966c5827ca807ca Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 28 Jan 2015 06:10:41 -0500 Subject: powerpc: Fix inline feraiseexcept, feclearexcept macros 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. --- math/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'math/Makefile') diff --git a/math/Makefile b/math/Makefile index fec7627c73..3904e41a3c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -90,7 +90,8 @@ tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \ test-misc test-fpucw test-fpucw-ieee tst-definitions test-tgmath \ test-tgmath-ret bug-nextafter bug-nexttoward bug-tgmath1 \ test-tgmath-int test-tgmath2 test-powl tst-CMPLX tst-CMPLX2 test-snan \ - test-fenv-tls test-fenv-preserve test-fenv-return $(tests-static) + test-fenv-tls test-fenv-preserve test-fenv-return test-fenvinline \ + $(tests-static) tests-static = test-fpucw-static test-fpucw-ieee-static # We do the `long double' tests only if this data type is available and # distinct from `double'. -- cgit v1.2.3