[Bug ipa/106716] Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 22 22:20:41 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106716

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect fipa-icf does not compare the branch predication data while doing the
comparison. I don't know if this is the right thing to do or not. Because if
there was exact data from profiling feedback then it would not merge any
function ...


More information about the Gcc-bugs mailing list