2013-09-03 Richard Biener <rguenther@suse.de>
commitcfdae6e890657673c9f173bc3c72ccb45cc27d96
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2013 12:18:34 +0000 (3 12:18 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2013 12:18:34 +0000 (3 12:18 +0000)
tree02dcdbcf3486dd5810a8610ddc1fbb9e30ef2add
parentdf039280e2389015bd9c030243ed6e6b01708805
2013-09-03  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-08-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58246
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly
handle the dominance check inside a basic-block.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@202217 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr58246.c [new file with mode: 0644]
gcc/tree-ssa-dce.c