From: Mark Mitchell Date: Wed, 21 Mar 2001 21:12:40 +0000 (+0000) Subject: * class.c (build_clone): Clear DECL_ASSEMBLER_NAME. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71cb92861565bf4bad31fc1b2db27546528eeaeb;p=gcc.git * class.c (build_clone): Clear DECL_ASSEMBLER_NAME. From-SVN: r40717 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3488b1149ef..0c476916714 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2001-03-21 Mark Mitchell + * 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 cf3b666fd1a..f082580e0cf 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;