diff options
author | Sterling Augustine <saugustine@google.com> | 2013-12-02 22:10:44 +0000 |
---|---|---|
committer | Sterling Augustine <sterling@gcc.gnu.org> | 2013-12-02 22:10:44 +0000 |
commit | 858c19053beed37c2715ba2d49426d2154beaa1e (patch) | |
tree | 9e897d058ba8b1b26de5b2cbfef5f2460e481247 /gcc/dwarf2out.c | |
parent | cdb02ac74387e9c4accde71a8710f5896175b341 (diff) | |
download | gcc-858c19053beed37c2715ba2d49426d2154beaa1e.zip gcc-858c19053beed37c2715ba2d49426d2154beaa1e.tar.gz gcc-858c19053beed37c2715ba2d49426d2154beaa1e.tar.bz2 |
dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset when...
2013-12-02 Sterling Augustine <saugustine@google.com>
* dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset
when there isn't a skeleton die.
From-SVN: r205603
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<pubname_entry, va_gc> *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); |