re PR tree-optimization/80359 (DSE causes error: invalid reference prefix)
authorRichard Biener <rguenther@suse.de>
Wed, 12 Apr 2017 13:47:26 +0000 (13:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Apr 2017 13:47:26 +0000 (13:47 +0000)
commit940c9a7c2cf3bbbf43b0602c9283bf7579cf05ec
tree3e96366740f1544c7be9d1ba28787488e0e7ef08
parent7f7e9dae36c8dd57ab89dae47a87903bbfefb530
re PR tree-optimization/80359 (DSE causes error: invalid reference prefix)

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.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r246875
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr80359.c [new file with mode: 0644]
gcc/tree-ssa-dse.c