This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lno][PATCH]: get loop body in BFS order
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Devang Patel <dpatel at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 13 May 2004 23:19:30 +0200
- Subject: Re: [lno][PATCH]: get loop body in BFS order
- References: <4D7BD544-A520-11D8-90B4-000393A91CAA@apple.com>
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