Patch: Prune unused DECL_STMTs from saved tree structure

Mark Mitchell mark@codesourcery.com
Tue Aug 29 19:10:00 GMT 2000


>>>>> "Zack" == Zack Weinberg <zack@wolery.cumb.org> writes:

    Zack> Upon casual inspection of walk_tree I believe I can make it
    Zack> work.  I notice that it does not descend BLOCK_VARS - why
    Zack> not?

I think because they should always be reachable via DECL_STMT.

The truth is that I would like walk_tree to be a little tidier.  If we
defined tree structure a little more rigorously, we could organize in
it a DAG -- rather than the current cyclic structure.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list