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: bracing errors in gcc/except.c?


On 16/01/2011 18:49, Jack Howarth wrote:

> The unnecessary bracing immediately after...
> 
>               for (lp = i->landing_pads; lp ; lp = lp->next_lp);
> 
> seems odd (as if the line above has accidentally gotten a ';' added).
> Is there a coding error here?

  Clearly, since it would make no sense to guarantee that lp was null (by
running off the end of the list) immediately before that block of code that
goes and dereferences it quite a lot!

    cheers,
      DaveK


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