tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which represent a...
commit7d48c9e2cc0d77630d365efe8fa1803a224a9a0a
authorJeff Law <law@redhat.com>
Fri, 16 Dec 2005 07:03:12 +0000 (16 00:03 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 16 Dec 2005 07:03:12 +0000 (16 00:03 -0700)
tree88a7799c9f4d7f31317de3ae132949f5dde781d1
parent9a8ce21f3b47a109b9ac35239e21198bb36e1146
tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which represent a use and definition of the same...

* tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
represent a use and definition of the same SSA_NAME.

* gcc.dg/tree-ssa/ssa-dse-8.c: New test.

From-SVN: r108630
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-8.c [new file with mode: 0644]
gcc/tree-ssa-dse.c