https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128983
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <[email protected]>: https://gcc.gnu.org/g:531fc99cb65d53417d52e3e1861f228f7b0174a6 commit r17-7041-g531fc99cb65d53417d52e3e1861f228f7b0174a6 Author: Andrew MacLeod <[email protected]> Date: Thu Nov 26 14:16:00 2026 -0500 Retain some precision when folding too many pairs. If the number of pairs involved in a fold operation exceed a certain limit, we drop to a summary range of [MIN, MAX]. We can instead drop to 3 pairs in an attempt to keep some useful information. PR tree-optimization/128983 gcc/ * range-op.cc (range_operator::fold_range): If the number of pairs exceed the limit, downscale to 3 pairs each. gcc/testsuite/ * gcc.dg/pr128983.c: New.
