https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113575
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robin Dapp <rd...@gcc.gnu.org>: https://gcc.gnu.org/g:861997a9c7088da25ed4dc0bd339060ca063514f commit r14-8457-g861997a9c7088da25ed4dc0bd339060ca063514f Author: Robin Dapp <rd...@ventanamicro.com> Date: Wed Jan 24 17:28:31 2024 +0100 genopinit: Split init_all_optabs [PR113575]. init_all_optabs initializes > 10000 patterns for riscv targets. This leads to pathological situations in dataflow analysis (which can occur with many adjacent stores). To alleviate this this patch makes genopinit split the init_all_optabs function into several init_optabs_xx functions that each initialize 1000 patterns. With this change insn-opinit.cc's compilation time is reduced from 4+ minutes to 1:30 and memory consumption decreases from 1.2G to 630M. gcc/ChangeLog: PR other/113575 * genopinit.cc (main): Split init_all_optabs into functions of 1000 patterns each.