aboutsummaryrefslogtreecommitdiff
path: root/gcc/symtab.c
diff options
context:
space:
mode:
authorIlya Enkovich <ilya.enkovich@intel.com>2014-03-18 10:26:01 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-03-18 10:26:01 +0000
commit1fed15fc7951b67eca06afe1eb573d5213ad41cb (patch)
tree06d4d30698f8c376d23add7e7cea15d1b4f6d2db /gcc/symtab.c
parent454fdba9b11f7f1aae847bc7ca3060d2beb6d204 (diff)
downloadgcc-1fed15fc7951b67eca06afe1eb573d5213ad41cb.zip
gcc-1fed15fc7951b67eca06afe1eb573d5213ad41cb.tar.gz
gcc-1fed15fc7951b67eca06afe1eb573d5213ad41cb.tar.bz2
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
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r--gcc/symtab.c2
1 files changed, 1 insertions, 1 deletions
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);