OSDN Git Service

* class.c (build_clone): Clear DECL_ASSEMBLER_NAME.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2001 21:12:40 +0000 (21:12 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2001 21:12:40 +0000 (21:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40717 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/class.c

index 3488b11..0c47691 100644 (file)
@@ -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.
 
index cf3b666..f082580 100644 (file)
@@ -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;