re PR tree-optimization/88792 (wrong-code in RPO VN since r263875)
authorRichard Biener <rguenther@suse.de>
Thu, 10 Jan 2019 18:58:08 +0000 (18:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 10 Jan 2019 18:58:08 +0000 (18:58 +0000)
commitf25507d041de4df6fffabedbed57c07ecff0d9ab
tree8491328f395b92a8c5ba25c92f141041b8e25044
parentbebf94afe55f257942ca4bd378b4006f1f17a0c8
re PR tree-optimization/88792 (wrong-code in RPO VN since r263875)

2019-01-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88792
* tree-ssa-pre.c (get_representative_for): Do not return a
value-number here.

* gcc.dg/torture/pr88792.c: New testcase.

From-SVN: r267821
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr88792.c [new file with mode: 0644]
gcc/tree-ssa-pre.c