[Bug c++/104855] -Wclass-memaccess is too broad with valid code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 10 09:07:57 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104855

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-03-10
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed. I think we should separate "this is undefined because your type
isn't trivially copyable" from "this seems like poor style".


More information about the Gcc-bugs mailing list