[Bug middle-end/58306] error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

t.artem at mailcity dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 18 19:39:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306

--- Comment #5 from Artem S. Tashkinov <t.artem at mailcity dot com> ---
Created attachment 35355
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35355&action=edit
Sources and Makefile (run make to reproduce)

GCC 5.0.1 RC2 is also affected:

g++  -O3 -march=native -Wno-attributes -fno-tree-vectorize -fprofile-use
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c hash.cpp
blake2s.cpp: In function ‘void blake2s_update(blake2s_state*, const byte*,
size_t)’:
blake2s.cpp:138:40: error: corrupted value profile: value profile counter
(10976192 out of 10966245) inconsistent with basic-block count (10996457)
       memcpy( S->buf + left, in, fill ); // Fill buffer
                                        ^
blake2s.cpp:162:49: error: corrupted value profile: value profile counter
(10915050 out of 10973342) inconsistent with basic-block count (10932972)
       memcpy( S->buf + left, in, (size_t)inlen );
                                                 ^
make: *** [blake2s.o] Error 1
make: *** Waiting for unfinished jobs....


More information about the Gcc-bugs mailing list