This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] file numbering confusion
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: [c++] file numbering confusion
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 16 Mar 2001 11:13:54 -0800 (PST)
- cc: jason at redhat dot com, gcc-bugs at gcc dot gnu dot org
> Thanks. I don't believe it is a CPP bug, since the preprocessed output
> contains all the right line numbers, and putting a random ']' token at
> any place in the preprocessed output the C++ front end reports a syntax
> error with the *right file and line number*. This means that the front
> end *does* know the correct file and line number. These wrong filename
> bugs are only reported for the C++ front end, which further strengthens
> my conviction.
a ha. Thanks. Were you able to duplicate my confused gdb output then?
> Could you check cb_file_change in c-lex.c to confirm it's doing the right
> thing with pushing and popping locations and assignment to front-end
> global variables?
...which FE global variables?
-benjamin