This is the mail archive of the gcc-patches@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: [tuples] walk_tree for tuples


On 7/12/07 3:28 PM, Christopher Matthews wrote:

> Is the general use that someone would go through all of the labels, or
> all but the default?  So far everything that I have seen the default
> is a special case - so having a separate accessor for it makes sense.
> If all labels are treated equal in most of the rest of the system -
> then I think including the default is a good idea.

Well, we sometimes treat it special, as in 'get me the default label'
and other times we just want to blindly traverse the body of the switch
as in 'walk this tuple'.


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