https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484
wilco at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #5 from wilco at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #4) > Wilco, > do you have a specific function where this happens? > > Martin, > do you know what is hitrate of call predictor here? I am not sure how much > we can do about this (it is all heuristics after all). Top functions in the profile with this issue are EvElmList, Sum, EvAssList, Diff, Prod. It's the macro EVAL, it does a test and then an indirect call. If is used multiple times in a row all the extra taken branches start to take their toll.