]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
dwarf2out.c (add_AT_string): Call ggc_strdup once per string.
authorMichael Matz <matz@suse.de>
Thu, 22 Feb 2007 17:03:48 +0000 (17:03 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 22 Feb 2007 17:03:48 +0000 (17:03 +0000)
commita0ad3539f415e3f925691340ce389c0dc0819c91
treeb9429c7e1446e9672a2be1a81499cfcc7a228646
parentb3502aa8d46d9cd008916170a635b2bf3a5d5125
dwarf2out.c (add_AT_string): Call ggc_strdup once per string.

        * 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.

From-SVN: r122230
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