[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 02:42:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66852
--- Comment #2 from Jeffrey Walton <noloader at gmail dot com> ---
> My apologies for *not* having a minimum working example.
If you want to duplicate it, then:
git clone https://github.com/weidai11/cryptopp.git
Open GNUmakefile, and change to (around line 3):
OPTIMIZE ?= -O3
Depending on when we checkin the fix, you may (or may not) experience the bug.
I don't know how to tell git to checkout a particular revision because it does
not use them. I guess you should do something to get a version of the sources
prior to Sunday, July 12, 2015.
If the proposed fix is applied, then remove the optimize pragma from misc.cpp
(begins around line 20):
#pragma GCC push_options
#pragma GCC optimize ("-O2")
void xorbuf(byte *buf, const byte *mask, size_t count)
{
...
}
#pragma GCC pop_options
More information about the Gcc-bugs
mailing list