[PATCH] intprops: port to Oracle Developer Studio 12.6

2019-08-17 Thread Paul Eggert
* 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 74ab30f9f..2a0efcc81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-08-17  Paul Eggert  
+
+   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  
 
intprops: support uchar, ushort _WRAPV dests
diff --git a/lib/intprops.h b/lib/intprops.h
index f1b2943ea..2c0256883 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  B into *R, where OP specifies
the operation and OVERFLOW the overflow predicate.  If *R is
-- 
2.21.0




Eliminate dead assignment in regex_internal.c/re_node_set_insert()

2019-08-17 Thread Tim Rühsen
Please consider applying this

diff --git a/lib/regex_internal.c b/lib/regex_internal.c
index 9004ce809..15f38a755 100644
--- a/lib/regex_internal.c
+++ b/lib/regex_internal.c
@@ -1311,7 +1311,6 @@ re_node_set_insert (re_node_set *set, Idx elem)
  first element separately to skip a check in the inner loop.  */
   if (elem < set->elems[0])
 {
-  idx = 0;
   for (idx = set->nelem; idx > 0; idx--)
set->elems[idx] = set->elems[idx - 1];
 }



signature.asc
Description: OpenPGP digital signature