https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88444
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45225&action=edit gcc9-pr88444-2.patch Untested fix for the inliner bug. It wants to iterate over all newly added basic blocks (i.e. those added during the current inlining), but stopped at n_basic_blocks_for_fn (cfun), which can be smaller if the basic block array is not compacted.