[patch] for PR 32773

Eric Botcazou ebotcazou@libertysurf.fr
Mon Jul 16 20:53:00 GMT 2007


> +   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



More information about the Gcc-patches mailing list