* tree-cfg.c (replace_loop_annotate_in_block): New function extracted
commitbd09c0bdb0ea577910089800a3854f393abce681
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Nov 2014 12:34:20 +0000 (15 12:34 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Nov 2014 12:34:20 +0000 (15 12:34 +0000)
tree081ab31c4d445cce3f0630d61493e9f6ccbb4777
parent04e3ee8a20614d3b34defc477b201c99aeebf99f
* tree-cfg.c (replace_loop_annotate_in_block): New function extracted
from...
(replace_loop_annotate): ...here.  Call it on the header and on the
latch block, if any.  Restore proper behavior of final cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217602 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt44.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt44.ads [new file with mode: 0644]
gcc/tree-cfg.c