https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110857
--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The sanity check fires since profile count involved are not compatible that should never happen within a single function. Would it be possible to dump them? From debugger one should be able to call p this->debug(); p other.debug (); from stage1 compiler that is build with -O0. It is quite possible that this bug is carried for a while through the optimization pipeline. It would be also useful to have -fdump-tree-all-blocks-details and -fdump-rtl-all-blocks-details dumps. Honza