tree-ssa-sccvn.c (visit_phi): Merge undefined values similar to VN_TOP.
authorRichard Biener <rguenther@suse.de>
Thu, 14 Sep 2017 11:57:08 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Sep 2017 11:57:08 +0000 (11:57 +0000)
commit0fa0fdb764da72f61b2a504345e7e2750658e133
treecffeabcb1a9fe908e9a199f0c9f8a60c9f2532ab
parent83ada6e8e669d0218771edcc99317b9951431df9
tree-ssa-sccvn.c (visit_phi): Merge undefined values similar to VN_TOP.

2017-09-14  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (visit_phi): Merge undefined values similar
to VN_TOP.

* gcc.dg/tree-ssa/ssa-fre-59.c: New testcase.
* gcc.dg/uninit-suppress_2.c: Adjust.
* gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise.

From-SVN: r252756
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-59.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-sccvn-2.c
gcc/testsuite/gcc.dg/uninit-suppress_2.c
gcc/tree-ssa-sccvn.c