verify tests: Fix crash with GCC (regression 2020-11-02).
authorBruno Haible <bruno@clisp.org>
Tue, 3 Nov 2020 16:15:21 +0000 (17:15 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Nov 2020 16:15:21 +0000 (17:15 +0100)
* tests/test-verify.c (main): Fix initializer of s.

ChangeLog
tests/test-verify.c

index 6a9c762c1c27d45baf722bbcfd5f009f7489e1e4..bd7cb08a31fe7c6a07a3cd353d9c3fe49a406afb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-03  Bruno Haible  <bruno@clisp.org>
+
+       verify tests: Fix crash with GCC (regression 2020-11-02).
+       * tests/test-verify.c (main): Fix initializer of s.
+
 2020-11-03  Pádraig Brady  <P@draigBrady.com>
 
        mountlist: recognize more file system types as remote
index a141417c853bc0c939cc6b069635e166888c0ced..fe7599c832c80461c2d61e0638f481575b1211ae 100644 (file)
@@ -112,7 +112,7 @@ test_assume_noreturn (void)
 int
 main (void)
 {
-  state s = { 0 };
+  state s = { 0, 1 };
   test_assume_expressions (&s);
   test_assume_optimization (5);
   return !(function (0) == 0 && function (1) == 8);