This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: jc1 patch to set input_filename for source file


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]