[Bug c++/91563] [9 regression] wrong code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 27 16:26:00 GMT 2019


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.


More information about the Gcc-bugs mailing list