even faster propagate_freq

Jan Hubicka jh@suse.cz
Sat Aug 18 06:02:00 GMT 2001


> On Fri, Aug 17, 2001 at 05:28:26PM +0200, Jan Hubicka wrote:
> > +       if (!BLOCK_INFO (bb)->visited)
> [...]
> > + 	    if (!BLOCK_INFO (e->src)->visited && !(e->flags & EDGE_DFS_BACK))
> 
> Err.. I think you've got some cut-n-paste issues.
> Visited will never be set here.
It will - the visited is clear only for blocks I need to visit.  In case I am
computing internal loop, it is clear only for nodes in internal loop.  In the
final run, it is clear for all blocks.

I see why it is confusing.  Perhaps the visited should be named better to
represent this functionality.  Maybe reverse the meaning and call it tovisit?

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list