]> git.ipfire.org Git - thirdparty/gnulib.git/commit
sigsegv tests: Hide a null pointer from the compiler's optimizations.
authorBruno Haible <bruno@clisp.org>
Wed, 9 Jun 2021 19:34:22 +0000 (21:34 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 9 Jun 2021 19:34:22 +0000 (21:34 +0200)
commit993ca832d232c33da1d2bb07e91acd6d301ebea0
treedb0640dda89fc12cd15e7f08089de8a0779be6d5
parent4480dd39f2f8e59576dc03727d004ae996e26d6c
sigsegv tests: Hide a null pointer from the compiler's optimizations.

Patch by Paul Eggert.

* tests/test-sigsegv-catch-stackoverflow2.c
(null_pointer_to_volatile_int): New variable.
(main): Use it.
ChangeLog
tests/test-sigsegv-catch-stackoverflow2.c