This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on tree-walking and mutually-recursive types


    Yes walk using a hashtable saying you already walked the tree.
    walk_tree_without_duplicates is what you want.

Well, sure, but most callers don't use that.  I thought of making a
call to that instead of walk_tree at the TREE_TYPE for POINTER_TYPE
location if htab is zero, but that sounds costly and I'd rather not
if I can avoid it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]