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
On Wed, Jan 30, 2002 at 09:17:46PM +0000, Neil Booth wrote:
> 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?
I can't seem to find the patch I was thinking of, anymore. Jeff sent
a patch for bad debug info with conditions spanning multiple lines -
if (a
&& b
&& something_else())
{ ... }
That might or might not be desirable for 3.0.4; it's certainly lower
priority than the problem I see with #line.
However, since 3.1 still doesn't get this 100% it may not be worth
putting an incomplete fix into 3.0.
zw