This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Major debugging breakage
- From: law at redhat dot com
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Geoff Keating <geoffk at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 03 Jan 2002 20:26:09 -0700
- Subject: Re: Major debugging breakage
- Reply-to: law at redhat dot com
> > Note that we call c_expand_start_cond (which records the line number for
> > the statement) *after* we've parsed the entire expression. Thus the
> > recorded line number is wrong.
> >
> > At least that's my theory :-)
>
> It looks very likely to me.
Agreed -- particularly since I've managed to bastardize my tree so that
we build the base IF and WHILE nodes before we have finished parsing the
condition. With that change the debug symbols look correct.
I've got to clean that code up and submit it (tomorrow AM since the tests
will be running through the night).
jeff