https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103821
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:71b72132011a47a4b39950d95718f18d1218978c commit r12-6477-g71b72132011a47a4b39950d95718f18d1218978c Author: Andrew MacLeod <amacl...@redhat.com> Date: Mon Jan 10 13:33:44 2022 -0500 Prevent exponential range calculations. Produce a summary result for any operation involving too many subranges. PR tree-optimization/103821 * range-op.cc (range_operator::fold_range): Only do precise ranges when there are not too many subranges.