https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95049
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:84f4954c38228e4cb3e6f0b5471883e6c2523631 commit r11-277-g84f4954c38228e4cb3e6f0b5471883e6c2523631 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.