2014-12-15 Richard Biener <rguenther@suse.de>
commitaf5f6a93983bf9df69740b86e61e5242c61e1243
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Dec 2014 08:19:55 +0000 (15 08:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Dec 2014 08:19:55 +0000 (15 08:19 +0000)
tree53e1e3c4dd8e23039265c95b7a6992126ecdb915
parent94bec41ba73431ece552531330d2c1a7e6fa10b7
2014-12-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64284
* tree-ssa-threadupdate.c (duplicate_seme_region): Mark
the loop for removal if we copied the loop header.

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

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