aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1997-02-16 10:05:43 +0000
committerJason Merrill <merrill@gnu.org>1997-02-16 10:05:43 +0000
commita1d7ffe39cbc63278f6d8fddafdbc54277b0fe44 (patch)
treed6b9b2c6fe9863eb2cfd4237926e750de729ce2c /gcc/c-common.c
parent6e47932d3c751ba0f2ee5706221597b79ec53fd4 (diff)
downloadgcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.zip
gcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.tar.gz
gcc-a1d7ffe39cbc63278f6d8fddafdbc54277b0fe44.tar.bz2
x
From-SVN: r13652
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 1e2f6c5..d921661 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -65,15 +65,12 @@ declare_function_name ()
}
else
{
- char *kind = "function";
- if (TREE_CODE (TREE_TYPE (current_function_decl)) == METHOD_TYPE)
- kind = "method";
/* Allow functions to be nameless (such as artificial ones). */
if (DECL_NAME (current_function_decl))
name = IDENTIFIER_POINTER (DECL_NAME (current_function_decl));
else
name = "";
- printable_name = (*decl_printable_name) (current_function_decl, &kind);
+ printable_name = (*decl_printable_name) (current_function_decl, 2);
}
declare_hidden_char_array ("__FUNCTION__", name);