re PR tree-optimization/79090 (DSE wrongly removes store at variable offset)
authorJeff Law <law@redhat.com>
Sun, 15 Jan 2017 09:34:01 +0000 (02:34 -0700)
committerJeff Law <law@gcc.gnu.org>
Sun, 15 Jan 2017 09:34:01 +0000 (02:34 -0700)
commit0cb4b758f5372ed1b5be14f79723ad59afba25f2
treec0cef117b1e3d8ee31f6df5a6028a19c1339a086
parent3d812e26eab44f72c6f047ea9a2b71dcbe009878
re PR tree-optimization/79090 (DSE wrongly removes store at variable offset)

PR tree-optimization/79090
* tree-ssa-dse.c (valid_ao_ref_for_dse): Reject zero length and
variable length stores.
(compute_trims): Delete dead assignment to *trim_tail.
(dse_dom_walker::dse_optimize_stmt): Optimize mem* calls with
zero length.

From-SVN: r244472
gcc/ChangeLog
gcc/tree-ssa-dse.c