summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-10 21:45:01 +0000
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-10 21:45:01 +0000
commitb5c93b09131b4781a1a36440704f89dd4c4ed1cc (patch)
tree8bf9ab1fea9015af0b8934b2c3069cea94dc6559 /libgfortran
parent71b19c56d1a3bda678b30c0fe9e3d3b579ed6d8a (diff)
downloadgcc-b5c93b09131b4781a1a36440704f89dd4c4ed1cc.tar.gz
2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR libfortran/67140 * intrinsics/mvbits.c: Fix build for paltforms without c_int128_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/intrinsics/mvbits.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index dd9143bf845..2206c7fe35e 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,6 +1,11 @@
2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR libfortran/67140
+ * intrinsics/mvbits.c: Fix build for paltforms without c_int128_t.
+
+2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR libfortran/67140
* gfortran.map: Add _gfortran_mvbits_i16.
* intrinsics/mvbits.c: Generate mvbits for c_int128_t.
diff --git a/libgfortran/intrinsics/mvbits.c b/libgfortran/intrinsics/mvbits.c
index cb9dd6c30bd..b883a2e71e2 100644
--- a/libgfortran/intrinsics/mvbits.c
+++ b/libgfortran/intrinsics/mvbits.c
@@ -84,6 +84,7 @@ SUB_NAME (const TYPE *from, const int *frompos, const int *len, TYPE *to,
# undef TYPE
# undef UTYPE
+#if defined (HAVE_GFC_INTEGER_16)
# define TYPE GFC_INTEGER_16
# define UTYPE GFC_UINTEGER_16
# define SUB_NAME mvbits_i16
@@ -92,3 +93,4 @@ SUB_NAME (const TYPE *from, const int *frompos, const int *len, TYPE *to,
# undef TYPE
# undef UTYPE
#endif
+#endif