This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix a tcb crash and a potential bug on mainline
On Wednesday 20 October 2004 15:41, Andrew MacLeod wrote:
> Why doesnt cleanup_control_flow actually follow the flow from entry to
> exit instead of FOR_EACH_BB?
I'm asking myself that each time I see FOR_{EACH,ALL}_BB.
> Does it have to do something in blocks
> that are unreachable?
No.
> Or is it just an attempt to avoid using a visited
> bitmap?
And a stack for backtracking.
I've been thinking for some time now about implementing FOR_EACH_BB_DFS
(and perhaps other visiting orders) using some iterator. You think that
would be a good idea?
Gr.
Steven