longlong.h: Add __udiv_w_sdiv prototype.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Mon, 15 Sep 2014 13:28:32 +0000 (13:28 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 15 Sep 2014 13:28:32 +0000 (13:28 +0000)
2014-09-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* longlong.h: Add __udiv_w_sdiv prototype.

From-SVN: r215266

include/ChangeLog
include/longlong.h

index 1cda0dc02b11da86e90eea7f2edf9cd54a9fa1a6..a3b6a28b947f1765e3279caf3ee289a43a725017 100644 (file)
@@ -1,3 +1,7 @@
+2014-09-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * longlong.h: Add __udiv_w_sdiv prototype.
+
 2014-06-10  Thomas Schwinge  <thomas@codesourcery.com>
 
        PR lto/61334
index 31f88cb3f597c749c0c205c00bce45a6ed455fa4..42c68ddd62d7a0920f5a219edc28991a8d935c5f 100644 (file)
@@ -1687,7 +1687,8 @@ extern UHItype __stormy16_count_leading_zeros (UHItype);
 #if !defined (udiv_qrnnd) && defined (sdiv_qrnnd)
 #define udiv_qrnnd(q, r, nh, nl, d) \
   do {                                                                 \
-    USItype __r;                                                       \
+    extern UWtype __udiv_w_sdiv (UWtype *, UWtype, UWtype, UWtype);    \
+    UWtype __r;                                                                \
     (q) = __udiv_w_sdiv (&__r, nh, nl, d);                             \
     (r) = __r;                                                         \
   } while (0)