Commit 0b395e19 by Alexandre Oliva Committed by Alexandre Oliva

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
parent bf730f15
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> 2004-06-07 Roger Sayle <roger@eyesopen.com>
PR c/14649 PR c/14649
......
...@@ -2886,7 +2886,7 @@ finish_decl (tree decl, tree init, tree asmspec_tree) ...@@ -2886,7 +2886,7 @@ finish_decl (tree decl, tree init, tree asmspec_tree)
{ {
tree builtin = built_in_decls [DECL_FUNCTION_CODE (decl)]; tree builtin = built_in_decls [DECL_FUNCTION_CODE (decl)];
SET_DECL_RTL (builtin, NULL_RTX); 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 #ifdef TARGET_MEM_FUNCTIONS
if (DECL_FUNCTION_CODE (decl) == BUILT_IN_MEMCPY) if (DECL_FUNCTION_CODE (decl) == BUILT_IN_MEMCPY)
init_block_move_fn (starred); init_block_move_fn (starred);
......
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