[Bug tree-optimization/95049] [9 Regression] GCC never terminates with trivial input program
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 11 10:38:04 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95049
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:0c7ae564f42b605e21001e5e6968a58cc454be9b
commit r9-8863-g0c7ae564f42b605e21001e5e6968a58cc454be9b
Author: Richard Biener <rguenther@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 <rguenther@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.
(cherry picked from commit 84f4954c38228e4cb3e6f0b5471883e6c2523631)
More information about the Gcc-bugs
mailing list