re PR tree-optimization/86017 (multiple consecutive calls to bzero/memset not merged)
authorRichard Biener <rguenther@suse.de>
Fri, 1 Jun 2018 10:49:54 +0000 (10:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 1 Jun 2018 10:49:54 +0000 (10:49 +0000)
commit47cac108ef3a44811ae56fb9c823d5a2339d751b
tree6000c29302bcd9cbda985ea8007afb1127572cf0
parentabc24d932cf028c4ba363c89aad530fd0f49d93f
re PR tree-optimization/86017 (multiple consecutive calls to bzero/memset not merged)

2018-06-01  Richard Biener  <rguenther@suse.de>

PR middle-end/86017
* gimple-fold.c (var_decl_component_p): Also allow offsetted
vars wrapped in MEM_REFs.

* gcc.dg/tree-ssa/pr86017.c: New testcase.

From-SVN: r261061
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr86017.c [new file with mode: 0644]