This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -grecord-dwarf-switches with PCH (PR debug/53145)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, Cary Coutant <ccoutant at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 08 Nov 2012 12:18:16 -0800
- Subject: Re: [PATCH] Fix -grecord-dwarf-switches with PCH (PR debug/53145)
- References: <20121108194931.GE1859@tucnak.redhat.com>
On 2012-11-08 11:49, Jakub Jelinek wrote:
> 2012-11-07 Jakub Jelinek <jakub@redhat.com>
>
> PR debug/53145
> * dwarf2out.c (gen_compile_unit_die): Don't call gen_producer_string
> here, instead add "" if producer_string is NULL.
> (dwarf2out_finish): Call gen_producer_string here, unconditionally
> decrease refcount of the old indirect string and set val_str to
> find_AT_string result.
Ok.
r~