2015-05-12 Richard Biener <rguenther@suse.de>
commitc1d1f6d262a99ad44a751b5024414eeea1226f95
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 May 2015 13:28:33 +0000 (12 13:28 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 May 2015 13:28:33 +0000 (12 13:28 +0000)
treef486f78e5f57c2fb12fcb8b4580366a8208a78fc
parenteb8aeefccfb5ed973b3c58b6fc6803e5beb235d4
2015-05-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66101
* tree-ssa-dce.c (remove_dead_stmt): Properly mark loops for
fixup if we turn a loop exit edge to a fallthru edge.

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

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