[COMMITTED] Fix iseqsig for ports that do not support FE_INVALID

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Oct 7 17:22:00 GMT 2016


Microblaze, nios2, and tile do not support FE_INVALID and thus
define feraiseexcept as a empty macro.  Include math-private.h
to get such definition.

Checked with a build for microblaze, nios2, and tilepro.

	* math/s_iseqsig_template.c: Include math-private.h.
---
 ChangeLog                 | 2 ++
 math/s_iseqsig_template.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/math/s_iseqsig_template.c b/math/s_iseqsig_template.c
index ebdae64..5969206 100644
--- a/math/s_iseqsig_template.c
+++ b/math/s_iseqsig_template.c
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <fenv.h>
 #include <math.h>
+#include <math_private.h>
 #include <stdbool.h>
 #include <fix-fp-int-compare-invalid.h>
 
-- 
2.7.4



More information about the Libc-alpha mailing list