[PATCH] tighten up -Wclass-memaccess for ctors/dtors (PR 84851)

2018-05-25 Thread Martin Sebor
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 PR c++

[PATCH] tighten up -Wclass-memaccess for ctors/dtors (PR 84851)

2018-05-24 Thread Martin Sebor
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 PR c++/