re PR tree-optimization/91221 (ICE in get_int_cst_ext_nunits, at tree.c:1299 since...
authorRichard Biener <rguenther@suse.de>
Mon, 22 Jul 2019 11:18:55 +0000 (11:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 22 Jul 2019 11:18:55 +0000 (11:18 +0000)
commit8801ca5c28c3a9e9f36fa39a6a4455b48c8221fa
tree25c91033a09e53b0d303567af1374568c6f092d8
parentff8f129bc2f57fdfc80f56d73b84a80948d11d84
re PR tree-optimization/91221 (ICE in get_int_cst_ext_nunits, at tree.c:1299 since r273548)

2019-07-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91221
* tree-ssa-sccvn.c (vn_reference_lookup_3): Appropriately
restrict partial-def handling of empty constructors and
memset to refs with known offset.

* g++.dg/pr91221.C: New testcase.

From-SVN: r273667
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr91221.C [new file with mode: 0644]
gcc/tree-ssa-sccvn.c