aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-06-07 19:06:28 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2004-06-07 19:06:28 +0000
commit0b395e1959dcdea573bd9eb19866a522005b0494 (patch)
treeb0dca844bd86de362f391398dc3913ee48638642 /gcc/c-decl.c
parentbf730f15c50fab842ac222b8e60d62737d5f0d9a (diff)
downloadgcc-0b395e1959dcdea573bd9eb19866a522005b0494.zip
gcc-0b395e1959dcdea573bd9eb19866a522005b0494.tar.gz
gcc-0b395e1959dcdea573bd9eb19866a522005b0494.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index ee09afa..5cccefc 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);