re PR middle-end/15666 ([unit-at-a-time] Gcc abort on valid code)

PR middle-end/15666
* c-decl.c (finish_decl): Use change_decl_assembler_name for the
builtin decl as well.

From-SVN: r82706
This commit is contained in:
Alexandre Oliva 2004-06-07 19:06:28 +00:00 committed by Alexandre Oliva
parent bf730f15c5
commit 0b395e1959
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-06-07 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/15666
* c-decl.c (finish_decl): Use change_decl_assembler_name for the
builtin decl as well.
2004-06-07 Roger Sayle <roger@eyesopen.com>
PR c/14649

View File

@ -2886,7 +2886,7 @@ finish_decl (tree decl, tree init, tree asmspec_tree)
{
tree builtin = built_in_decls [DECL_FUNCTION_CODE (decl)];
SET_DECL_RTL (builtin, NULL_RTX);
SET_DECL_ASSEMBLER_NAME (builtin, get_identifier (starred));
change_decl_assembler_name (builtin, get_identifier (starred));
#ifdef TARGET_MEM_FUNCTIONS
if (DECL_FUNCTION_CODE (decl) == BUILT_IN_MEMCPY)
init_block_move_fn (starred);