re PR tree-optimization/87280 (ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3647)
authorRichard Biener <rguenther@suse.de>
Wed, 12 Sep 2018 14:03:21 +0000 (14:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Sep 2018 14:03:21 +0000 (14:03 +0000)
commitb25508e0ccf79f4c7ebd5a80e6ed3fd4a13eec51
tree7eae8819344bcf260623c7f032db75d58362e79a
parent72ced87475c02fc6d4211a9baa41a8c8bb14ab0c
re PR tree-optimization/87280 (ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3647)

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

PR tree-optimization/87280
* tree-ssa-sccvn.c (process_bb): Handle the case of executable
edge but unreachable target.
(do_rpo_vn): For conservatively handling a PHI only mark
the backedge executable but not the block reachable.

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

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