This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up lineno of builtin defines (PR debug/60603)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 21 Mar 2014 23:31:03 +0000
- Subject: Re: [PATCH] Fix up lineno of builtin defines (PR debug/60603)
- Authentication-results: sourceware.org; auth=none
- References: <20140321202616 dot GU1817 at tucnak dot redhat dot com>
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