Commit 71cb9286 by Mark Mitchell Committed by Mark Mitchell

* class.c (build_clone): Clear DECL_ASSEMBLER_NAME.

From-SVN: r40717
parent bca05d20
2001-03-21 Mark Mitchell <mark@codesourcery.com> 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 * mangle.c (mangle_decl_string): Mangle the names of overloaded
operators, even when they have `extern "C"' linkage. operators, even when they have `extern "C"' linkage.
......
...@@ -4178,6 +4178,7 @@ build_clone (fn, name) ...@@ -4178,6 +4178,7 @@ build_clone (fn, name)
DECL_ABSTRACT_ORIGIN (clone) = fn; DECL_ABSTRACT_ORIGIN (clone) = fn;
/* Reset the function name. */ /* Reset the function name. */
DECL_NAME (clone) = name; DECL_NAME (clone) = name;
SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE);
/* There's no pending inline data for this function. */ /* There's no pending inline data for this function. */
DECL_PENDING_INLINE_INFO (clone) = NULL; DECL_PENDING_INLINE_INFO (clone) = NULL;
DECL_PENDING_INLINE_P (clone) = 0; DECL_PENDING_INLINE_P (clone) = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment