This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Match calls to debug_end_source_file with calls to debug_start_source_file
Jason Merrill wrote:-
> My point is that it's currently broken in simple cases, never mind
> corner cases. Currently, C and C++ will never update input_filename
> or call debug_enter_source_file when compiling a preprocessed file.
OK, sorry your point wasn't clear from the initial mail.
Combining the 3 callbacks into one, and doing it right in that one
callback, would be the best way to fix this I think.
In the meantime (since getting rid of damned USE_CPPLIB seems to fall
ever further away) I might have a go at duplicating it in
cb_rename_file. Or I might have a go at combining the callbacks
anyway.
Neil.