[Bug c++/66852] vmovdqa instructions issued on 64-bit aligned array, causes segfault
noloader at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 13 10:44:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66852
--- Comment #11 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Jonathan Wakely from comment #8)
> The code in algparam.h is just disgusting. AssignFromHelperClass binds a
> reference to NULL just to default-construct a temporary of some type, then
> binds a const-reference to that temporary, then casts away const to modify
> the value of that temporary. What seems to be a "VC60 workaround" introduces
> undefined behaviour by trying to be far too clever. Apparently also too
> clever to use compiler warnings.
The project is finally using -Wall, and its not flagging any issues with that
code.
I know -Wdelete-non-virtual-dtor is a problem (and potential security problem),
and I'm trying to figure how how to proceed.
Cf.https://groups.google.com/d/msg/cryptopp-users/__m0euOdbEQ/tvINItctzjAJ,
What additional warnings would you suggest?
More information about the Gcc-bugs
mailing list