This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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);
  }
  
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]