re PR tree-optimization/81790 (ICE in vn_nary_build_or_lookup_1, at tree-ssa-sccvn...
authorRichard Biener <rguenther@suse.de>
Tue, 15 Aug 2017 11:26:32 +0000 (11:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Aug 2017 11:26:32 +0000 (11:26 +0000)
commit204b99cd9c55825cee211ce186b861454a7a4c50
tree56252a64a82451901656d11d70af8d6232d07528
parentc0ff19d57c5fb7c10ca29cd34a8834c4af2ec4fb
re PR tree-optimization/81790 (ICE in vn_nary_build_or_lookup_1, at tree-ssa-sccvn.c:1738)

2017-08-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81790
* tree-ssa-sccvn.c (vn_lookup_simplify_result): Handle both
CONSTRUCTORs from simplifying and VN.

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

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