]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Dec 2023 06:36:06 +0000 (22:36 -0800)
commita007cf68f0ee224d1d88cd6907f5dbea0ad5c149
treeb79bcc6b68414cd540eed36a3a19bab175724479
parentb311b9007de788b543600849dd9313b5a72f0e75
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