lto-cgraph.c (input_cgraph_1): Always link instrumented assembler name with original one.

* lto-cgraph.c (input_cgraph_1): Always link instrumented
	assembler name with original one.

From-SVN: r221850
This commit is contained in:
Ilya Enkovich 2015-04-03 08:39:29 +00:00 committed by Ilya Enkovich
parent fb383fd288
commit a3d72251cc
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
* lto-cgraph.c (input_cgraph_1): Always link instrumented
assembler name with original one.
2015-04-02 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_register_priority): Use AX_REG.

View File

@ -1617,9 +1617,8 @@ input_cgraph_1 (struct lto_file_decl_data *file_data,
}
/* Restore decl names reference. */
if (IDENTIFIER_TRANSPARENT_ALIAS (DECL_ASSEMBLER_NAME (cnode->decl))
&& !TREE_CHAIN (DECL_ASSEMBLER_NAME (cnode->decl)))
TREE_CHAIN (DECL_ASSEMBLER_NAME (cnode->decl))
IDENTIFIER_TRANSPARENT_ALIAS (DECL_ASSEMBLER_NAME (cnode->decl)) = 1;
TREE_CHAIN (DECL_ASSEMBLER_NAME (cnode->decl))
= DECL_ASSEMBLER_NAME (cnode->orig_decl);
}
}