[tree-ssa] RFC: Making control flow more explicit

Diego Novillo dnovillo@redhat.com
Mon Aug 11 20:16:00 GMT 2003


On Mon, 2003-08-11 at 16:04, Zdenek Dvorak wrote:

> I am not really sure what is the exact meaning of the parent.  Can't you
> run into problems in cases like
> 
> if (c1)
>   goto bla;
> 
> if (c2)
>   {
>     something;
>     bla:
>     something_else;
>   }
> ?
> 
You shouldn't.  What would be the dead statement here?

> Anyway, losing concept of parent relationship seems to be relatively
> small cost in comparison to other gains.
> 
The only reason why we use the parent relation is to avoid spending time
building the control dependence information.  That can be costly.  IIRC,
Jeff Law had done some experiments with that, but they don't seem to be
in CVS.


Diego.



More information about the Gcc mailing list