* class.c (build_clone): Clear DECL_ASSEMBLER_NAME.
authorMark Mitchell <mark@codesourcery.com>
Wed, 21 Mar 2001 21:12:40 +0000 (21:12 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 21 Mar 2001 21:12:40 +0000 (21:12 +0000)
From-SVN: r40717

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

index 3488b1149ef23d7f3201b68598b492d8c3f61841..0c4769167141f30e1ec9d4ce7b62a8f4e9f07e10 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 cf3b666fd1a51322d60ed0cf1a2707ae17a5f2bf..f082580e0cf3f43e7effcffcfff5d20b50099cfd 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;