Hi Jakub, 

  r250343 | jakub | 2017-07-19 13:12:58 +0000 (Wed, 19 Jul 2017) | 48 lines

        PR libquadmath/65757
        * quadmath-imp.h (math_opt_barrier, math_force_eval,
        math_narrow_eval, math_check_force_underflow,
        math_check_force_underflow_nonneg): Define.
        * math/ceilq.c: Backport changes from upstream glibc
        between 2012-11-01 and 2017-07-13.

is causing this 

  /scratch/tmp/gerald/GCC-HEAD/libquadmath/math/powq.c: In function 'powq':
  /scratch/tmp/gerald/GCC-HEAD/libquadmath/math/powq.c:266:11: error: 
'u_int32_t'
  undeclared (first use in this function); did you mean 'uint32_t'?
   if (((((u_int32_t) hx >> 31) - 1) | (yisint - 1)) == 0)
           ^~~~~~~~~
           uint32_t

on my "nightly" FreeBSD 10/i386 tester (and I could not find a mail
on gcc-patches referring to this commit).

This fixes it.  Okay to apply to GCC?  And can you please push this
to glibc as well (which I do not have access to)?

Gerald


2017-07-19  Gerald Pfeifer  <ger...@pfeifer.com>

        * math/powq.c (powq): Use uint32_t instead of u_int32_t.

Index: math/powq.c
===================================================================
--- math/powq.c (revision 250360)
+++ math/powq.c (working copy)
@@ -263,7 +263,7 @@
 
   /* sgn (sign of result -ve**odd) = -1 else = 1 */
   sgn = one;
-  if (((((u_int32_t) hx >> 31) - 1) | (yisint - 1)) == 0)
+  if (((((uint32_t) hx >> 31) - 1) | (yisint - 1)) == 0)
     sgn = -one;                                /* (-ve)**(odd int) */
 
   /* |y| is huge.

Reply via email to