https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96979
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:e46858e4eeee45d35ca4a7df1996186fe884879b commit r11-3519-ge46858e4eeee45d35ca4a7df1996186fe884879b Author: Martin Liska <mli...@suse.cz> Date: Thu Sep 24 13:34:13 2020 +0200 switch conversion: make a rapid speed up gcc/ChangeLog: PR tree-optimization/96979 * tree-switch-conversion.c (jump_table_cluster::can_be_handled): Make a fast bail out. (bit_test_cluster::can_be_handled): Likewise here. * tree-switch-conversion.h (get_range): Use wi::to_wide instead of a folding. gcc/testsuite/ChangeLog: PR tree-optimization/96979 * g++.dg/tree-ssa/pr96979.C: New test.