* dwarf2out.c (add_AT_string): Call ggc_strdup once per string.
commitfacb12b2a5e9a8549b399b10432e9ecb66fc0bf2
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Feb 2007 17:03:48 +0000 (22 17:03 +0000)
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Feb 2007 17:03:48 +0000 (22 17:03 +0000)
treeb9429c7e1446e9672a2be1a81499cfcc7a228646
parent94d43e7046ee9257b0e6684f41783b9f947c59d9
    * dwarf2out.c (add_AT_string): Call ggc_strdup once per string.
        (type_tag): Use lang_hooks.dwarf_name instead of DECL_NAME.

        * cp-tree.h (TFF_NO_OUTER_SCOPE): New formatting flag.
        * error.c (dump_aggr_type, dump_simple_decl, dump_decl,
        dump_function_decl): Guard emitting outer scopes by new flag.
        * cp-lang.c (cxx_dwarf_name): New function.
        (LANG_HOOKS_DWARF_NAME): Define to cxx_dwarf_name.
        * pt.c (classtype_mangled_name, mangle_class_name_for_template):
        Remove functions.
        (push_template_decl_real, lookup_template_class): Remove calls
        to above functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122230 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/error.c
gcc/cp/pt.c
gcc/dwarf2out.c