tree-ssa-dse.c (dse_optimize_redundant_stores): Improved check to catch more redundan...
authorMatthew Beliveau <mbelivea@redhat.com>
Tue, 20 Aug 2019 13:23:01 +0000 (13:23 +0000)
committerMatthew Beliveau <mbelivea@gcc.gnu.org>
Tue, 20 Aug 2019 13:23:01 +0000 (13:23 +0000)
commit529f304811542ca34030b0dc0a7621503998da66
tree72fd99909e6b1d188a712b0a3d3b74399164ca7e
parent00f7060a2db60e6fe7066bf65244909dc7693d19
tree-ssa-dse.c (dse_optimize_redundant_stores): Improved check to catch more redundant zero initialization cases.

2019-08-19  Matthew Beliveau  <mbelivea@redhat.com>

* tree-ssa-dse.c (dse_optimize_redundant_stores): Improved check to
catch more redundant zero initialization cases.
(dse_dom_walker::dse_optimize_stmt): Likewise.

From-SVN: r274749
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/redundant-assign-zero-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/redundant-assign-zero-2.c [new file with mode: 0644]
gcc/tree-ssa-dse.c