dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
authorJason Merrill <jason@redhat.com>
Thu, 21 Sep 2000 21:42:02 +0000 (17:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Sep 2000 21:42:02 +0000 (17:42 -0400)
commit1bfb5f8f9695ed1166362e3a508a2f3d9c7b0238
treee03df27e502599a9ba1c07a9acf073020f32809f
parent2047e26f26df59ce6e571ceaff5e6cb7bbd3f930
dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.

        * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.

        * dwarf2out.c (tree_add_const_value_attribute): New fn.
        (gen_variable_die): Call it for non-definitions.

        * dwarf2out.c (die_struct): Add die_mark field.
        (mark_dies, unmark_dies): New fns.
        (clear_die_sizes): Remove.
        (print_die): Check die_symbol rather than die_offset.
        (build_abbrev_table, output_pubnames, output_aranges): Check
        die_mark rather than die_offset.
        (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
        Call mark_dies.

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