]> Savannah Git Hosting - gnulib.git/commit
frexp: pacify clang re address-of-volatile
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Dec 2023 06:19:22 +0000 (22:19 -0800)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 08:12:42 +0000 (09:12 +0100)
commit06c737a7c85da324d7fb51a6b05baa6bbd901fb4
tree91c448a01a179b45bedd31885fb9af8af17c2be3
parentba2e17db6f6f80f01977525cb9cb0d04518be163
frexp: pacify clang re address-of-volatile

Problem reported by Sam James in:
https://lists.gnu.org/r/bug-gnulib/2023-12/msg00013.html
* m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Don’t try to convert
‘double volatile *’ to ‘void const *’ as the C standard
doesn’t allow accessing volatile variables through
pointer-to-nonvolatile.
* m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): Likewise.
ChangeLog
m4/frexp.m4
m4/frexpf.m4