re PR tree-optimization/87197 (ICE in is_gimple_reg_type at gimple-expr.h:75 since...
authorRichard Biener <rguenther@suse.de>
Mon, 3 Sep 2018 13:28:25 +0000 (13:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 3 Sep 2018 13:28:25 +0000 (13:28 +0000)
commit70fc129d86eeeea6f3f04892cec75119ba97b86e
tree1563fe500213e173d780fd3a853c30d2ad90eb75
parentc7a8f93d7b2132ed163a2d80fc06b36792042893
re PR tree-optimization/87197 (ICE in is_gimple_reg_type at gimple-expr.h:75 since r264021)

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

PR tree-optimization/87197
* tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Mark the new def
visited.  CSE the VN_INFO hashtable lookup.

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

PR tree-optimization/87169
* tree-ssa-sccvn.c (do_rpo_vn): When marking loops for not
iterating make sure there's no extra backedges from irreducible
regions feeding the header.  Mark the destination block
executable.

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

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