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: Fix the tree part of the mainline breakage


On Fri, 2004-05-28 at 11:03, Steven Bosscher wrote:

> In gimplify.c we don't know yet if there is a default case.  We
> look for one and _may_ find one.  But that's not guaranteed, so
> we have to look at all labels and see if there is one, and when
> there is no default case, we build one.  One could remove those
> two lines to move it into the last position of the label vector
> and things would still work.  But the idea was, when you have 
> just looked it up, why not move it to the end right there, so
> you don't have to search the default case _again_ when you're in
> sort_case_labels.
>
OK.  Thanks for the clarification.  The patch is fine.


Diego.


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