[patch] bsi_for_stmt
Diego Novillo
dnovillo@redhat.com
Mon Aug 30 18:45:00 GMT 2004
On Mon, 2004-08-30 at 10:01, Zdenek Dvorak wrote:
> this patch implements the function that enables to obtain an iterator
> for the statement in constant time. This functionality seems to be
> needed in several new patches (ivopts, Andrew Pinski's loops to memset
> optimization pass, Dale Johannesen's implemenation of value profiling
> on tree level).
>
Could you provide some examples? In principle, I don't see why an
object should know about its container. When I've needed to manipulate
statements, I just pass around SIs.
> The patch exposed several minor problems (chain_prev/next fields not
> cleared up when statement is removed, removing a single statement
> twice, marking the statement list instead of its members as modified)
> that are also fixed by the patch.
>
Could you submit these fixes separately?
Thanks. Diego.
More information about the Gcc-patches
mailing list