https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032
--- Comment #32 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Mark Wielaard from comment #31) > (In reply to Filip Kastl from comment #30) > > (In reply to Mark Wielaard from comment #28) > > > I haven't tried yet, but do you mean something like the following? > > > - /* Note: l + 1 is the number of cases of the switch. */ > > > - if (l + 1 > (unsigned) param_switch_lower_slow_alg_max_cases) > > > - return clusters.copy (); > > > > Yes. Exactly that. > > OK, with just those 3 lines reverted (on top of commit > gcc-15-6430-g27af1a14f3a) compiling insn-attrtab.cc took just 60 seconds. Posted a patch to revert just those 3 lines: https://inbox.sourceware.org/gcc-patches/20250105172539.906393-1-m...@klomp.org/T/