re PR debug/53145 (gcc.dg/pch/save-temps-1.c)
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 Nov 2012 20:20:10 +0000 (21:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 Nov 2012 20:20:10 +0000 (21:20 +0100)
commit2a86dbb79b72e3662aea66873888df6923d06472
tree65e813161367e5ae9abd22326cec96cad6d205da
parentecf07a67d0e8cc33b780783d9996a0e91a6239a2
re PR debug/53145 (gcc.dg/pch/save-temps-1.c)

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.

From-SVN: r193340
gcc/ChangeLog
gcc/dwarf2out.c