From d62b3a6d40bcdbbf92349cf03a76f1f7163534ce Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat, 17 Aug 2019 03:13:42 -0700
Subject: [PATCH] intprops: port to Oracle Developer Studio 12.6

* lib/intprops.h (_GL_INT_OP_WRAPV): Fix recently-introduced
typos that were in a section not compiled by GCC.
---
 ChangeLog      | 6 ++++++
 lib/intprops.h | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 74ab30f9f1..2a0efcc810 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+	intprops: port to Oracle Developer Studio 12.6
+	* lib/intprops.h (_GL_INT_OP_WRAPV): Fix recently-introduced
+	typos that were in a section not compiled by GCC.
+
 2019-08-14  Paul Eggert  <eggert@cs.ucla.edu>
 
 	intprops: support uchar, ushort _WRAPV dests
diff --git a/lib/intprops.h b/lib/intprops.h
index f1b2943eaf..2c02568834 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -416,10 +416,10 @@
                         unsigned long int, 0, ULONG_MAX), \
      long long int: \
        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
-                        long long int, LLONG_MIN, LLONG_MAX),
+                        long long int, LLONG_MIN, LLONG_MAX), \
      unsigned long long int: \
        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
-                        unsigned long long int, ULLONG_MIN, ULLONG_MAX)))
+                        unsigned long long int, 0, ULLONG_MAX)))
 #else
 /* Store the low-order bits of A <op> B into *R, where OP specifies
    the operation and OVERFLOW the overflow predicate.  If *R is
-- 
2.39.5