https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113157
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >1.c:7:1: error: corrupted profile info: profile data is not flow-consistent This is because you different options while compiling the 2 versions of the applications. Yes the diagnostic should be better though.