diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-18 17:41:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-18 17:42:23 -0700 |
commit | af35f056d12a30dee7a415d887b96b780e1f2ebc (patch) | |
tree | 7d1816573e6e6b89a7acb888dad5c58527499a8d | |
parent | 36bfd5861fcb18ab6cef782ae3b185afc77d3628 (diff) | |
download | gnulib-af35f056d12a30dee7a415d887b96b780e1f2ebc.tar.gz |
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-- | ChangeLog | 8 | ||||
-rw-r--r-- | tests/test-verify.c | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -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 |