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]

Re: [lno][PATCH]: get loop body in BFS order


Hello,


> +       {
> +         if (! (e->flags & EDGE_LOOP_EXIT))

please use

	    if (flow_bb_inside_loop_p (loop, e->dest))

instead (it is more reliable, in case there are some cfg changes between
the moment EDGE_LOOP_EXIT was set and this function is called).

Zdenek


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