https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96729
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Samples: 7K of event 'cycles:u', Event count (approx.): 7668407627 Overhead Command Shared Object Symbol 26.63% cc1 cc1 [.] dwarf2out_next_real_insn 9.81% cc1 cc1 [.] is_a_helper<rtx_insn*>::test<rtx_def> guess there's some quadraticness here, walking the insn stream more times than necessary.