re PR tree-optimization/87117 (ICE in eliminate_dom_walker::eliminate_cleanup(bool...
authorRichard Biener <rguenther@suse.de>
Tue, 28 Aug 2018 10:14:45 +0000 (10:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Aug 2018 10:14:45 +0000 (10:14 +0000)
commitf2b0062c10f85110e52ad7daa8bc268cdc262b86
tree64f03acb31750f21ead720e7b4002c33edf8d1fa
parent7b3ca2443530663016432f3b6515e408ce35ba64
re PR tree-optimization/87117 (ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875)

2018-08-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87117
* tree-ssa-sccvn.c (fully_constant_vn_reference_p): Exclude
void which is is_gimple_reg_type by checking for COMPLETE_TYPE_P.

* gcc.dg/pr87117-1.c: New testcase.

From-SVN: r263911
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87117-1.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c