https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95049
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:80416aac46779533476425424e06753bac67e148 commit r10-8348-g80416aac46779533476425424e06753bac67e148 Author: Richard Biener <rguent...@suse.de> Date: Mon May 11 13:40:37 2020 +0200 tree-optimization/95049 - fix not terminating RPO VN iteration This rejects lattice changes from one constant to another. 2020-05-11 Richard Biener <rguent...@suse.de> PR tree-optimization/95049 * tree-ssa-sccvn.c (set_ssa_val_to): Reject lattice transition between different constants. * gcc.dg/torture/pr95049.c: New testcase.