summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-06-18 17:41:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-06-18 17:42:23 -0700
commitaf35f056d12a30dee7a415d887b96b780e1f2ebc (patch)
tree7d1816573e6e6b89a7acb888dad5c58527499a8d
parent36bfd5861fcb18ab6cef782ae3b185afc77d3628 (diff)
downloadgnulib-af35f056d12a30dee7a415d887b96b780e1f2ebc.tar.gz
gnulib-af35f056d12a30dee7a415d887b96b780e1f2ebc.tar.bz2
verify-tests: work around xlc bug
Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2019-06/msg00049.html * tests/test-verify.c (item): Move the arithmetic inside the verify_expr, to avoid tickling a bug in IBM AIX xlc V12.1.
-rw-r--r--ChangeLog8
-rw-r--r--tests/test-verify.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ab71a3d95..c76ac88525 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-06-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ verify-tests: work around xlc bug
+ Problem reported by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2019-06/msg00049.html
+ * tests/test-verify.c (item): Move the arithmetic inside the
+ verify_expr, to avoid tickling a bug in IBM AIX xlc V12.1.
+
2019-06-16 Bruno Haible <bruno@clisp.org>
Restore Emacs time-stamp hook applicability.
diff --git a/tests/test-verify.c b/tests/test-verify.c
index 0afbcabdea..98983c3c43 100644
--- a/tests/test-verify.c
+++ b/tests/test-verify.c
@@ -39,7 +39,7 @@ verify (1 == 1); verify (1 == 1); /* should be ok */
enum
{
- item = verify_expr (1 == 1, 10) * 0 + 17 /* should be ok */
+ item = verify_expr (1 == 1, 10 * 0 + 17) /* should be ok */
};
static int

Return to:

Send suggestions and report system problems to the System administrator.