re PR tree-optimization/87328 (ICE in do_rpo_vn, at tree-ssa-sccvn.c:6566)
authorRichard Biener <rguenther@suse.de>
Mon, 17 Sep 2018 13:28:04 +0000 (13:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 17 Sep 2018 13:28:04 +0000 (13:28 +0000)
commit5d721887efa6c7d49ab98344c3faf1d17ce2eb25
treec6cdf993113dba0c74a51be88bd1acd526502e1b
parent80c6d1f4463b5a848451513d788d38bb366dbefb
re PR tree-optimization/87328 (ICE in do_rpo_vn, at tree-ssa-sccvn.c:6566)

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

PR tree-optimization/87328
* tree-ssa-sccvn.c (process_bb): Remove assertion about not
visiting unexecutable backedges when not iterating.
(do_rpo_vn): Mark all edges not executable even when not
iterating.

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

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