re PR tree-optimization/82102 (ICE: Segmentation fault in /home/arnd/git/gcc/gcc...
authorRichard Biener <rguenther@suse.de>
Tue, 5 Sep 2017 08:15:21 +0000 (08:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Sep 2017 08:15:21 +0000 (08:15 +0000)
commita0f8cad6254428d0f9b95f7328aa0c20207aa5a9
tree4e6d55caa111216facd52e6c8a47450ca293be65
parentbabf697a2da6eff7ea91e02605023b309119a175
re PR tree-optimization/82102 (ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863)

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

PR tree-optimization/82102
* tree-ssa-pre.c (fini_eliminate): Check if lhs is NULL.

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

From-SVN: r251692
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82102.c [new file with mode: 0644]
gcc/tree-ssa-pre.c