https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The program's behaviour is undefined, because memset can't be used for writing to non-trivially copyable types.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The program's behaviour is undefined, because memset can't be used for writing to non-trivially copyable types.