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

Reply via email to