2017-04-12 Richard Biener <rguenther@suse.de>
commit1bcbd566cc98b51f757dbaf993dcced045ebc93e
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Apr 2017 13:47:26 +0000 (12 13:47 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Apr 2017 13:47:26 +0000 (12 13:47 +0000)
tree3e96366740f1544c7be9d1ba28787488e0e7ef08
parentd592b7eb01d951389d742e4ebc5eae0d7fecacde
2017-04-12  Richard Biener  <rguenther@suse.de>
Jeff Law  <law@redhat.com>

PR tree-optimization/80359
* tree-ssa-dse.c (maybe_trim_partially_dead_store): Do not
trim stores to TARGET_MEM_REFs.

* gcc.dg/torture/pr80359.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246875 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr80359.c [new file with mode: 0644]
gcc/tree-ssa-dse.c