re PR tree-optimization/80620 (gcc produces wrong code with -O3)
commitf9bfe3f57e74f85d2d548ba470303f1feb97f3bf
authorRichard Biener <rguenther@suse.de>
Tue, 18 Jul 2017 07:35:40 +0000 (18 07:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Jul 2017 07:35:40 +0000 (18 07:35 +0000)
tree9ec1e7a1891bb4a5f04d44bddc9d387b26111adb
parentd2e78d766294a5e548c2eaf92f07a8f768120e1c
re PR tree-optimization/80620 (gcc produces wrong code with -O3)

2017-07-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80620
PR tree-optimization/81403
* tree-ssa-pre.c (phi_translate_1): Clear range and points-to
info when re-using a VN table entry.

* gcc.dg/torture/pr80620.c: New testcase.
* gcc.dg/torture/pr81403.c: Likewise.

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