re PR tree-optimization/82217 (ICE on valid code at -O1 and above: in visit_phi,...
authorRichard Biener <rguenther@suse.de>
Fri, 15 Sep 2017 09:19:36 +0000 (09:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Sep 2017 09:19:36 +0000 (09:19 +0000)
commit897da3034cc2b1e3675d891e833c6b2a02fd4fe5
treed30a6dd766b27849dc68b70824bcd0b2d0b7534f
parent854dde43ae85c54a12430a656d01a0db9637b139
re PR tree-optimization/82217 (ICE on valid code at -O1 and above: in visit_phi, at tree-ssa-sccvn.c:3908)

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

PR tree-optimization/82217
* tree-ssa-sccvn.c (visit_phi): Properly handle all VN_TOP
but not undefined case.

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

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