From: Alexandre Oliva Date: Mon, 7 Jun 2004 19:06:28 +0000 (+0000) Subject: re PR middle-end/15666 ([unit-at-a-time] Gcc abort on valid code) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b395e1959dcdea573bd9eb19866a522005b0494;p=gcc.git 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 --- 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);