https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652
--- Comment #4 from hubicka at kam dot mff.cuni.cz --- > > Well, I'm specifically speaking about: > error: the control flow of function ‘BZ2_compressBlock’ does not match its > profile data (counter ‘arcs’) > > this type of errors should not happen even in a multi-threaded programs. There are some cases where I see even those on clang build - I am not sure how that happens (if it is configury difference or generated code or gcc bug) It is on my TODO to analyse... In any case we should never ICE on malformed gcda files. Especially not by buffer overflow :) > > > I think you can produce testcase easily by making a function with one > > indirect call for train run and many indirect calls in profile-use run. > > > > I have patch to avoid the buffer overflow - can send it after getting to > > office. > > Sure, please send it. Attached. Honza