Use internal __feraiseexcept in __iseqsig

Replace the use of feraiseexcept with __feraiseexcept in the helper
function __iseqsig (math/s_iseqsig_template.c).

Tested for powerpc64le, s390x, and x86_64.

	* math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
	instead of feraiseexcept.
This commit is contained in:
Gabriel F. T. Gomes 2017-03-14 17:36:08 -03:00
parent 2bda2d820d
commit 826aa1346f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
instead of feraiseexcept.
2017-03-15 Florian Weimer <fweimer@redhat.com>
[BZ #21243]

View File

@ -36,7 +36,7 @@ M_DECL_FUNC (__iseqsig) (FLOAT x, FLOAT y)
else if (!cmp1 && !cmp2)
{
if (FIX_COMPARE_INVALID)
feraiseexcept (FE_INVALID);
__feraiseexcept (FE_INVALID);
__set_errno (EDOM);
}
return 0;