re PR debug/7081 (DWARF enhancements for C++)
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 15 Dec 2007 20:19:23 +0000 (20:19 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 15 Dec 2007 20:19:23 +0000 (20:19 +0000)
commit394d9fe79e075b4deab317f8bcd9b15be6e37e38
tree3eeee76c583d6b37c1e438a4ff1bf07b0dc61918
parentd2f08d98796279fe8886918e7746eb276420545c
re PR debug/7081 (DWARF enhancements for C++)

gcc/ChangeLog:
PR debug/7081
* dwarf2out.c (dwarf_tag_name): Synchronize with dwarf2.h.
(is_type_die): Cover interface types.
(class_or_namespace_scope_p): Cover interface and class types.
(record_type_tag): New.
(gen_inlined_structure_type_die): Use it.
(gen_struct_or_union_type_die): Likewise.
(prune_unused_types_walk): Cover interface types.
* langhooks.h (classify_record): New enum.
(classify_record): New member in struct langhooks_for_types.
* langhooks-def.h (LANG_HOOKS_CLASSIFY_RECORD): New.
(LANGHOOKS_FOR_TYPES_INITIALIZER): Adjust.
gcc/cp/ChangeLog:
PR debug/7081
* cp-lang.c (cp_classify_record): New.
(LANG_HOOKS_CLASSIFY_RECORD): Override.
gcc/java/ChangeLog:
PR debug/7081
* lang.c (java_classify_record): New.
(LANG_HOOKS_CLASSIFY_RECORD): Override.

From-SVN: r130960
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/dwarf2out.c
gcc/java/ChangeLog
gcc/java/lang.c
gcc/langhooks-def.h
gcc/langhooks.h