tree-ssa-sccvn.c (sccvn_dom_walker): Add unreachable_dom member and initialize it.
authorRichard Biener <rguenther@suse.de>
Fri, 4 Dec 2015 12:32:26 +0000 (12:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 4 Dec 2015 12:32:26 +0000 (12:32 +0000)
commit1d6e77c504dc3f5750374b2d0157f804c95031db
treec1f7bb1b67a14f516903cc81707e4910e9ff3675
parent1a8c6effec0cd293b6d1ab50a7e221817acad5d8
tree-ssa-sccvn.c (sccvn_dom_walker): Add unreachable_dom member and initialize it.

2015-12-04  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (sccvn_dom_walker): Add unreachable_dom
member and initialize it.
(sccvn_dom_walker::after_dom_children): Reset unreachable_dom
if necessary.
(sccvn_dom_walker::before_dom_children): If unreachable_dom
is set BB is not reachable either.  Set unreachable_dom
if not set and BB is unreachable.

From-SVN: r231262
gcc/ChangeLog
gcc/tree-ssa-sccvn.c