]> 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:00:35 +0000 (09:00 +0100)
commitd281e23a41d3f9b8fef4f98814b2cbbe401a4ba5
tree77d5587cc0bcd939ecadf75cb9f6af64e584cb28
parent4021d386bb017c2c2667c3af6cc518d1cb05f850
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