https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- You could use *(void **) which GCC(!) treats conservative. But yes, *(char **)&head should use memcpy to be truly portable.
rguenth at gcc dot gnu.org via Gcc-bugs Mon, 23 Aug 2021 06:22:54 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102022
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- You could use *(void **) which GCC(!) treats conservative. But yes, *(char **)&head should use memcpy to be truly portable.