From 1fed15fc7951b67eca06afe1eb573d5213ad41cb Mon Sep 17 00:00:00 2001 From: Ilya Enkovich Date: Tue, 18 Mar 2014 10:26:01 +0000 Subject: symtab.c (change_decl_assembler_name): Fix transparent alias chain construction. gcc/ * symtab.c (change_decl_assembler_name): Fix transparent alias chain construction. From-SVN: r208637 --- gcc/ChangeLog | 5 +++++ gcc/symtab.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba7bb36..2d9e05a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-03-18 Ilya Enkovich + + * symtab.c (change_decl_assembler_name): Fix transparent alias + chain construction. + 2014-03-16 Renlin Li * config/aarch64/aarch64.c: Correct the comments about the diff --git a/gcc/symtab.c b/gcc/symtab.c index 5d69803..2d6f665 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -492,7 +492,7 @@ change_decl_assembler_name (tree decl, tree name) if (alias) { IDENTIFIER_TRANSPARENT_ALIAS (name) = 1; - TREE_CHAIN (DECL_ASSEMBLER_NAME (name)) = alias; + TREE_CHAIN (name) = alias; } if (node) insert_to_assembler_name_hash (node, true); -- cgit v1.1