This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems debugging gcc
Geoff Keating wrote:-
> There's a bug in cc1: it doesn't store file names for statements, only
> line numbers, and so debugging information for functions that have
> lines from multiple files is often wrong.
Hmm, sounds like it's non-trivial to fix and been around forever then.
It also sounds like a good reason to use the line maps and drop the
mucking about with global filename and line number variables, no?
Neil.