This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bracing errors in gcc/except.c?
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 Jan 2011 19:08:23 +0000
- Subject: Re: bracing errors in gcc/except.c?
- References: <20110116184922.GA19762@bromo.med.uc.edu>
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