]> git.ipfire.org Git - thirdparty/gcc.git/commit
dwarf2out.c (die_struct): Add comdat_type_p flag.
authorJason Merrill <jason@redhat.com>
Thu, 3 May 2012 16:19:17 +0000 (12:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 3 May 2012 16:19:17 +0000 (12:19 -0400)
commitd8acd563b29baeb4d7d79a8c700a7c35b9930890
tree234b03461aee924cb9393e47431d1c48ed5644d5
parent0fd0752e83525409addcdb904c67dc535bd5c1d1
dwarf2out.c (die_struct): Add comdat_type_p flag.

* dwarf2out.c (die_struct): Add comdat_type_p flag.  Use it instead of
use_debug_types to discriminate the die_id union.
(print_die, assign_symbol_names, copy_decls_walk): Likewise.
(build_abbrev_table, output_die): Likewise.
(prune_unused_types_walk_attribs): Likewise.
(generate_type_signature, copy_declaration_context): Set it.
(remove_child_or_replace_with_skeleton): Set it.
(dwarf2out_start_source_file, dwarf2out_end_source_file): Don't
check use_debug_types.
(dwarf2out_finish): Do break_out_includes after .debug_types.

From-SVN: r187107
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/dups-types.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/dwarf2/dups-types.h [new file with mode: 0644]