https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #10 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:0205fbb91be022055c632973caa95e398b33db39 commit r13-3350-g0205fbb91be022055c632973caa95e398b33db39 Author: Andrew MacLeod <amacl...@redhat.com> Date: Mon Oct 17 19:00:49 2022 -0400 Merge partial relation precisions properly When merging 2 groups of PE's, one group was simply being set to the other instead of properly merging them. PR tree-optimization/107273 gcc/ * value-relation.cc (equiv_oracle::add_partial_equiv): Merge instead of copying precison of each member. gcc/testsuite/ * gcc.dg/tree-ssa/pr107273-1.c: New. * gcc.dg/tree-ssa/pr107273-2.c: New.