re PR tree-optimization/87402 (ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645)
authorRichard Biener <rguenther@suse.de>
Tue, 25 Sep 2018 12:51:57 +0000 (12:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Sep 2018 12:51:57 +0000 (12:51 +0000)
commita0d013bdc22353a1b835c5f009259ae032a6b84b
treeb154d7d697ee8d70b7b640b709975ef67447d3c7
parent5d6749d1f241223353cba6cb637738bb5b698756
re PR tree-optimization/87402 (ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645)

2018-09-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87402
* tree-ssa-sccvn.c (SSA_VISITED): Remove unused function.
(visit_phi): Re-instantiate handling of supposed to be VARYING
but non-VARYING backedge value.

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

From-SVN: r264566
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87402.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c