This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: jc1 patch to set input_filename for source file
- To: Per Bothner <per at bothner dot com>
- Subject: Re: jc1 patch to set input_filename for source file
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Fri, 16 Mar 2001 08:14:36 +0000
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <m266ha1b8i.fsf@kelso.bothner.com>
Per Bothner wrote:-
> Gdb was complaining about line numbers being out of range. This turned
> out to be because when compiling multiple source files at once, the
> value of input_filename at various times was that of the
> temporary file-containing-list-of-filenames, rather than any of the
> actual source files. This seems to fix the problem, so I checked it in.
FWIW, this looks suspiciously similar to the C++ front end bad linnumbers
bug (which is in fact good linenumbers with a bad filename bug).
Neil.