aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2014-09-15 13:28:32 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2014-09-15 13:28:32 +0000
commit5e89d0ad01c570e2009e5d8e0b9b4c3f8dfecf5a (patch)
treedb38c4e1f6ebe602f1b900663a78689f07b60124 /include
parentb570c6dd40c3c4d11bcb387140a3c97abaa84ab1 (diff)
downloadgcc-5e89d0ad01c570e2009e5d8e0b9b4c3f8dfecf5a.zip
gcc-5e89d0ad01c570e2009e5d8e0b9b4c3f8dfecf5a.tar.gz
gcc-5e89d0ad01c570e2009e5d8e0b9b4c3f8dfecf5a.tar.bz2
longlong.h: Add __udiv_w_sdiv prototype.
2014-09-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * longlong.h: Add __udiv_w_sdiv prototype. From-SVN: r215266
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/longlong.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 1cda0dc..a3b6a28 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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
diff --git a/include/longlong.h b/include/longlong.h
index 31f88cb..42c68dd 100644
--- a/include/longlong.h
+++ b/include/longlong.h
@@ -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)