OSDN Git Service

* cfgloop.c (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
[pf3gnuchains/gcc-fork.git] / gcc / loop-unroll.c
index 4c7f6e2..c4f49d5 100644 (file)
@@ -1669,8 +1669,7 @@ analyze_insns_in_loop (struct loop *loop)
     opt_info->loop_preheader = loop_preheader_edge (loop)->src;
   
   if (n_edges == 1
-      && !(edges[0]->flags & EDGE_COMPLEX)
-      && (edges[0]->flags & EDGE_LOOP_EXIT))
+      && !(edges[0]->flags & EDGE_COMPLEX))
     {
       opt_info->loop_exit = loop_split_edge_with (edges[0], NULL_RTX);
       can_apply = true;