This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0 bogus file information in debugging output
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Wed, 30 Jan 2002 21:17:46 +0000
- Subject: Re: 3.0 bogus file information in debugging output
- References: <20020130205038.GJ754@codesourcery.com>
Zack Weinberg wrote:-
> 3.0.3 seems to have the same bug with functions with #line in the
> middle, that Neil fixed for the mainline not so long ago. I think
> this is worth addressing in 3.0.4.
Did I? Or was that Jeff?
There are various issues with when we assign the current file location to
the generated trees (if this is what I'm thinking about, it was introduced
with the code for C99-style for-blocks IIRC). In general, this stuff
is much easier to get right cleanly with a parser like Mark coded I think.
Neil.