[Bug tree-optimization/126538] Compile time hog with gimple-range-phi and bitint
"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126538 --- Comment #5 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:21c8ddd2cd2f3bf64225e4523e20e795083676fb commit r17-3296-g21c8ddd2cd2f3bf64225e4523e20e795083676fb Author: Andrew MacLeod <[email protected]> Date: Wed Aug 12 14:34:00 2026 -0400 Limit the number of iterations in phi analyzer. The phi analyzer attempts to provide initial values for cyclic PHIs by simulating the modifer by the number of bits of precision. _BitInt objects can be very large, and it is pointless to try to simulate them that many ttimes. PR tree-optimization/126538 gcc/ * gimple-range-phi.cc (phi_group::calculate_using_modifier): Limit the iteration upper bound to MAX_FIXED_MODE_SIZE. gcc/testsuite/ * gcc.dg/pr126538.c: New.