[PATCH] tighten up -Wclass-memaccess for ctors/dtors (PR 84851)
Martin Sebor
msebor@gmail.com
Thu May 24 21:36:00 GMT 2018
A fix for 84851 - missing -Wclass-memaccess for a memcpy in a copy
ctor with a non-trivial member was implemented but disabled for GCC
8 but because it was late, with the expectation we would enable it
for GCC 9. The attached removes the code that guards the full fix
to enable it.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-84851.diff
Type: text/x-patch
Size: 1479 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20180524/d95de562/attachment.bin>
More information about the Gcc
mailing list