2014-03-14 Richard Biener <rguenther@suse.de>
commit671fe6509b7cf0b182a018b77f91ae494b2e32c1
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Mar 2014 12:54:25 +0000 (14 12:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Mar 2014 12:54:25 +0000 (14 12:54 +0000)
tree2e1efaa6b3462efc84836a6f0f0cf7d8df0b5654
parent0f3c9fa8d4f77947e0b699195dc067d7a832b119
2014-03-14  Richard Biener  <rguenther@suse.de>

PR middle-end/60518
* cfghooks.c (split_block): Properly adjust all loops the
block was a latch of.

* g++.dg/pr60518.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208567 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfghooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr60518.C [new file with mode: 0644]