[PATCH] Fix -grecord-dwarf-switches with PCH (PR debug/53145)

Richard Henderson rth@redhat.com
Thu Nov 8 20:18:00 GMT 2012


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~



More information about the Gcc-patches mailing list