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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix up lineno of builtin defines (PR debug/60603)


On Fri, 21 Mar 2014, Jakub Jelinek wrote:

> Hi!
> 
> While the cpp_force_token_locations/cp_stop_forcing_token_locations
> pair forces BUILTINS_LOCATION upon tokens, the change introducing them
> removed cb_file_change/linemap_add, which is needed e.g. for proper
> line numbers of builtin defines in -g3 .debug_macro/.debug_macinfo.
> 
> Fixed by reverting that part of the 2011-08-22 changes, while keeping
> the forcing of BUILTINS_LOCATION.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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