http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53145



--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-08 
20:20:33 UTC ---

Author: jakub

Date: Thu Nov  8 20:20:10 2012

New Revision: 193340



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193340

Log:

    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.



Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/dwarf2out.c

Reply via email to