]> Savannah Git Hosting - gnulib.git/commit
calloc-gnu: Avoid wrong configure results with clang.
authorBruno Haible <bruno@clisp.org>
Sat, 23 May 2020 18:41:51 +0000 (20:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 23 May 2020 18:41:51 +0000 (20:41 +0200)
commit3cf2dc197941c8a162c338de008450a95a5bcc38
treec6dac42a4e88a1acc1c344a38d7cddd63c94b702
parentf95e68ffaf3b2cf0725bcaa47f877fdcaae38ca8
calloc-gnu: Avoid wrong configure results with clang.

* m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Mark the pointer variable as
'volatile', to defeat compiler optimizations.
ChangeLog
m4/calloc.m4