https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114285
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, if all you want is just to avoid the -Wuninitialized warnings for Rust copies from uninitialized, just wrap the memcpy into some noipa wrapper, then the compiler won't know whether the data isn't initialized in there etc. Or set no warning flag on the unitialized var (but that will turn off that warning on all uses).