https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032
--- Comment #31 from Mark Wielaard <mark at gcc dot gnu.org> --- (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. Total make -j64 took: real 139m44.774s user 2015m35.598s sys 131m40.992s