From: bje Date: Tue, 22 Mar 2005 03:09:25 +0000 (+0000) Subject: * dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c72b7d99f775651f2286f12940053d3f3c9251d5;p=thirdparty%2Fgcc.git * dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype and definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96851 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e05940a2934..42b4ac99dc37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-22 Ben Elliston + + * dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype + and definition. + 2005-03-21 Mike Stump * varasm.c (default_assemble_visibility): Remove extra (). diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index cc3c9f47a5ba..c4030f248b30 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3778,9 +3778,6 @@ static int is_tagged_type (tree); static const char *dwarf_tag_name (unsigned); static const char *dwarf_attr_name (unsigned); static const char *dwarf_form_name (unsigned); -#if 0 -static const char *dwarf_type_encoding_name (unsigned); -#endif static tree decl_ultimate_origin (tree); static tree block_ultimate_origin (tree); static tree decl_class_context (tree); @@ -4548,36 +4545,6 @@ dwarf_form_name (unsigned int form) return "DW_FORM_"; } } - -/* Convert a DWARF type code into its string name. */ - -#if 0 -static const char * -dwarf_type_encoding_name (unsigned enc) -{ - switch (enc) - { - case DW_ATE_address: - return "DW_ATE_address"; - case DW_ATE_boolean: - return "DW_ATE_boolean"; - case DW_ATE_complex_float: - return "DW_ATE_complex_float"; - case DW_ATE_float: - return "DW_ATE_float"; - case DW_ATE_signed: - return "DW_ATE_signed"; - case DW_ATE_signed_char: - return "DW_ATE_signed_char"; - case DW_ATE_unsigned: - return "DW_ATE_unsigned"; - case DW_ATE_unsigned_char: - return "DW_ATE_unsigned_char"; - default: - return "DW_ATE_"; - } -} -#endif /* Determine the "ultimate origin" of a decl. The decl may be an inlined instance of an inlined instance of a decl which is local to an inline