https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091
ak at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|bit_test_cluster takes |switch clustering takes |extensive time with large |extensive time with large |switches even at -O0 |switches even at -O0 --- Comment #3 from ak at gcc dot gnu.org --- With -fno-bit-tests -fno-jump-tables it compiles reasonably fast. One bug is really that these two options are enabled by default even at -O0. tree-switch-conversion has some logic for this, but it seems to be broken. Second step would be to figure out how to improve the clustering algorithm scaling.