This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] for PR 32773
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Jul 2007 22:09:06 +0200
- Subject: Re: [patch] for PR 32773
- References: <20070716193841.GA16777@kam.mff.cuni.cz>
> + for (ei = ei_start (EXIT_BLOCK_PTR->preds); (e = ei_safe_edge (ei)); )
> + {
> + if (e->src == forwarder
> + || !(e->flags & EDGE_FALLTHRU))
> + {
> + ei_next (&ei);
> + continue;
> + }
Could you rewrite this loop to something more standard? Nobody understands
what it does except you. :-) Either do not use 'for' or use the natural form
'for (init; cond; update)' with a 'break'.
--
Eric Botcazou