From 0b395e1959dcdea573bd9eb19866a522005b0494 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 7 Jun 2004 19:06:28 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/c-decl.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba13ae70377..4ac7e3da8e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-07 Alexandre Oliva + + 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 PR c/14649 diff --git a/gcc/c-decl.c b/gcc/c-decl.c index ee09afaff0d..5cccefc6d68 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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);