diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-03-22 03:09:25 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2005-03-22 14:09:25 +1100 |
commit | fd8e4663196023cae674def241981b83a3faf612 (patch) | |
tree | caf140bb54feca6c951ea88b47f4218b6a445f2b /gcc | |
parent | fb925a5148bd17de511f465415e7bce9dfca2f22 (diff) | |
download | gcc-fd8e4663196023cae674def241981b83a3faf612.zip gcc-fd8e4663196023cae674def241981b83a3faf612.tar.gz gcc-fd8e4663196023cae674def241981b83a3faf612.tar.bz2 |
dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype and definition.
* dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype
and definition.
From-SVN: r96851
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 33 |
2 files changed, 5 insertions, 33 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e05940..42b4ac9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-22 Ben Elliston <bje@au.ibm.com> + + * dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype + and definition. + 2005-03-21 Mike Stump <mrs@apple.com> * varasm.c (default_assemble_visibility): Remove extra (). diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index cc3c9f4..c4030f2 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_<unknown>"; } } - -/* 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_<unknown>"; - } -} -#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 |