re PR tree-optimization/79578 (Unnecessary instructions in generated code)
authorJeff Law <law@redhat.com>
Thu, 23 Feb 2017 05:47:43 +0000 (22:47 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 23 Feb 2017 05:47:43 +0000 (22:47 -0700)
commit18eb304e5f35d745dcb1a9bb41a2879a364f59fe
tree0dcaba18a3d8d4af87ff52e98edd49f63362b466
parent680ed1065a3701a55f1a800db4d70f08e5ea5194
re PR tree-optimization/79578 (Unnecessary instructions in generated code)

PR tree-optimization/79578
* tree-ssa-dse.c (clear_bytes_written_by): Use operand_equal_p
to compare base operands.

PR tree-optimization/79578
* g++.dg/tree-ssa/ssa-dse-3.C: New test.

From-SVN: r245675
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/ssa-dse-3.C [new file with mode: 0644]
gcc/tree-ssa-dse.c