* decl.c (duplicate_decls): Don't mess with assembler names when
redeclaring builtin functions as static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51812
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-04-03 Roger Sayle <roger@eyesopen.com>
+
+ PR c++/5998:
+ * decl.c (duplicate_decls): Don't mess with assembler names when
+ redeclaring builtin functions as static.
+
2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
* call.c (build_addr_func): Update.
will be banished. */
SET_DECL_LANGUAGE (olddecl, DECL_LANGUAGE (newdecl));
SET_DECL_RTL (olddecl, DECL_RTL (newdecl));
- COPY_DECL_ASSEMBLER_NAME (olddecl, newdecl);
- SET_IDENTIFIER_GLOBAL_VALUE (DECL_ASSEMBLER_NAME (newdecl),
- newdecl);
}
}
else if (TREE_CODE (olddecl) != TREE_CODE (newdecl))