https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65701
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Yep, I looked into this regression a bit. The patch just avoids some "false positives" of inlining functions called once (i.e. case where we think the function will optimize out but it really won't so we end up with duplication) and also some "false negatives". As such, it can affect pretty large functions to be or not be inlined. I will oprofile to figure out which one it is here.