https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> --- aha, it was missunderstanding then :) I wanted you to simply move the hunk to can_early_inline_edge_p. There is no specific bit to check for einline being finished.