re PR c++/5998 (regression, all builtins disabled)
PR c++/5998: * decl.c (duplicate_decls): Don't mess with assembler names when redeclaring builtin functions as static. From-SVN: r51812
This commit is contained in:
parent
a261e0cc7b
commit
cba2004a90
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -3219,9 +3219,6 @@ duplicate_decls (newdecl, olddecl)
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user