https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107976
--- Comment #5 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:8221efae233e2d5992a79600071dd0a52f1b3c74 commit r13-5104-g8221efae233e2d5992a79600071dd0a52f1b3c74 Author: Martin Liska <mli...@suse.cz> Date: Wed Dec 28 09:11:40 2022 +0100 switch expansion: limit JT growth param values Currently, one can request a huge jump table creation which leads to a non-sensual huge output. Moreover, use auto_vec rather than a stack-allocated array. PR middle-end/107976 gcc/ChangeLog: * params.opt: Limit JT params. * stmt.cc (emit_case_dispatch_table): Use auto_vec.