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
This commit is contained in:
Ilya Enkovich 2014-03-18 10:26:01 +00:00 committed by Kirill Yukhin
parent 454fdba9b1
commit 1fed15fc79
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com>
* symtab.c (change_decl_assembler_name): Fix transparent alias
chain construction.
2014-03-16 Renlin Li <Renlin.Li@arm.com>
* config/aarch64/aarch64.c: Correct the comments about the

View File

@ -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);