------- Comment #25 from rakdver at gcc dot gnu dot org 2006-07-18 00:45 ------- Created an attachment (id=11906) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11906&action=view) A patch for loop header selection.
I tried improving the heuristics for the selection of the loop header, however without success. In ch, copying all the exits simply looks like a good idea, since it makes the loop header contain the most important looking part of the loop, and makes the latch of the loop empty. I append the patch I made, in case someone wanted to play with it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364