summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-22 19:03:53 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-22 19:03:53 +0000
commite08f433e203f6de76eb82982ca16677aa6213c75 (patch)
tree4e4b562476168f350d0872a2e83fc4fcbf27f9ba /gcc/dbxout.c
parent398f3874e1fc79c5a33cdbcd6255571156d58e2b (diff)
downloadgcc-e08f433e203f6de76eb82982ca16677aa6213c75.tar.gz
revert
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 71c795964c9..1be2025779d 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -2215,19 +2215,11 @@ dbxout_symbol_name (decl, suffix, letter)
const char *suffix;
int letter;
{
- const char *name;
-
- if (TYPE_P (DECL_CONTEXT (decl)))
- /* One slight hitch: if this is a VAR_DECL which is a static
- class member, we must put out the mangled name instead of the
- DECL_NAME. Note also that static member (variable) names DO NOT begin
- with underscores in .stabs directives. */
- name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
- else
- /* ...but if we're function-local, we don't want to include the junk
- added by ASM_FORMAT_PRIVATE_NAME. */
- name = IDENTIFIER_POINTER (DECL_NAME (decl));
-
+ /* One slight hitch: if this is a VAR_DECL which is a static
+ class member, we must put out the mangled name instead of the
+ DECL_NAME. Note also that static member (variable) names DO NOT begin
+ with underscores in .stabs directives. */
+ const char *name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
if (name == 0)
name = "(anon)";
fprintf (asmfile, "%s \"%s%s:", ASM_STABS_OP, name,