aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-03-21 21:12:40 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-03-21 21:12:40 +0000
commit71cb92861565bf4bad31fc1b2db27546528eeaeb (patch)
treea3cb28a7682df64c4df8b03a380cfddbdb8bcb1b /gcc
parentbca05d20b8ecbf1fe5191da25fd077e01a8d4a10 (diff)
downloadgcc-71cb92861565bf4bad31fc1b2db27546528eeaeb.zip
gcc-71cb92861565bf4bad31fc1b2db27546528eeaeb.tar.gz
gcc-71cb92861565bf4bad31fc1b2db27546528eeaeb.tar.bz2
* class.c (build_clone): Clear DECL_ASSEMBLER_NAME.
From-SVN: r40717
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/class.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3488b11..0c47691 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2001-03-21 Mark Mitchell <mark@codesourcery.com>
+ * class.c (build_clone): Clear DECL_ASSEMBLER_NAME.
+
* mangle.c (mangle_decl_string): Mangle the names of overloaded
operators, even when they have `extern "C"' linkage.
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index cf3b666..f082580 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -4178,6 +4178,7 @@ build_clone (fn, name)
DECL_ABSTRACT_ORIGIN (clone) = fn;
/* Reset the function name. */
DECL_NAME (clone) = name;
+ SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE);
/* There's no pending inline data for this function. */
DECL_PENDING_INLINE_INFO (clone) = NULL;
DECL_PENDING_INLINE_P (clone) = 0;