[tree-ssa] Correct the initialization of an edge flag

Pop Sébastian pop@gauvain.u-strasbg.fr
Sun Apr 13 23:29:00 GMT 2003


Hi,

This patch marks the following edges as fallthru:

               LOOP_EXPR
	           |
                   v
             LOOP_EXPR_BODY 

Bootstrapped on i686.  Ok?



	* tree-cfg.c (make_loop_expr_edges): Mark edges from loop_expr to 
	their body with EDGE_FALLTHRU.


Index: tree-cfg.c
===================================================================
RCS file: /home/pop/cvsroot/gcc-cvs/gcc/gcc/Attic/tree-cfg.c,v
retrieving revision 1.1.4.71
diff -u -3 -p -c -r1.1.4.71 tree-cfg.c
*** tree-cfg.c	9 Apr 2003 19:27:40 -0000	1.1.4.71
--- tree-cfg.c	13 Apr 2003 22:06:03 -0000
*************** make_loop_expr_edges (bb)
*** 813,819 ****
  
    body_bb = first_exec_block (&LOOP_EXPR_BODY (entry));
    if (body_bb)
!     make_edge (bb, body_bb, 0);
  }
  
  
--- 813,819 ----
  
    body_bb = first_exec_block (&LOOP_EXPR_BODY (entry));
    if (body_bb)
!     make_edge (bb, body_bb, EDGE_FALLTHRU);
  }
  
  



More information about the Gcc-patches mailing list