https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103440
--- 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:e43b15c88c242b14a8ced8e631c1f9b80e83d63c commit r12-5628-ge43b15c88c242b14a8ced8e631c1f9b80e83d63c Author: Andrew MacLeod <amacl...@redhat.com> Date: Mon Nov 29 09:19:34 2021 -0500 Always track arguments, even when ignoring equiv params. To "ignore" ranges from equivalences, we should track the range separately, but still do the other name processing which determiens if there is a single name or not for equivalence. Otherwise we mistakently think we can introduce an equivalences. gcc/ PR tree-optimization/103440 * gimple-range-fold.cc (fold_using_range::range_of_phi): Continue normal param processing for equiv params. gcc/testsuite/ * gcc.dg/pr103440.c: New.