From 858c19053beed37c2715ba2d49426d2154beaa1e Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Mon, 2 Dec 2013 22:10:44 +0000 Subject: dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset when... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2013-12-02 Sterling Augustine   * dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset when there isn't a skeleton die. From-SVN: r205603 --- gcc/dwarf2out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dwarf2out.c') diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 14d1bf7..59a7e4c 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9293,7 +9293,7 @@ output_pubnames (vec *names) if (type_node != NULL) die_offset = (type_node->skeleton_die != NULL ? type_node->skeleton_die->die_offset - : 0); + : comp_unit_die ()->die_offset); } output_pubname (die_offset, pub); -- cgit v1.1