https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103254
--- 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:ee448a523d377f9ed882dac806d2f5001bfa2432 commit r12-5409-gee448a523d377f9ed882dac806d2f5001bfa2432 Author: Andrew MacLeod <amacl...@redhat.com> Date: Wed Nov 17 14:14:06 2021 -0500 Limit depth for all GORI expressions. Apply the logical_depth limit ranger uses to all stmts with multiple ssa-names to avoid excessive outgoing calculations. gcc/ PR tree-optimization/103254 * gimple-range-gori.cc (range_def_chain::get_def_chain): Limit the depth for all statements with multple ssa names. gcc/testsuite/ * gcc.dg/pr103254.c: New.