mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-16 01:20:09 +08:00
dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME to prevent mangling with lto frontend.
* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME to prevent mangling with lto frontend. From-SVN: r167460
This commit is contained in:
parent
40e584a1b7
commit
9937ab0287
@ -1,3 +1,8 @@
|
||||
2010-12-03 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
|
||||
to prevent mangling with lto frontend.
|
||||
|
||||
2010-12-03 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.
|
||||
|
@ -905,6 +905,7 @@ dw2_output_indirect_constant_1 (splay_tree_node node,
|
||||
id = (tree) node->value;
|
||||
|
||||
decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, id, ptr_type_node);
|
||||
SET_DECL_ASSEMBLER_NAME (decl, id);
|
||||
DECL_ARTIFICIAL (decl) = 1;
|
||||
DECL_IGNORED_P (decl) = 1;
|
||||
DECL_INITIAL (decl) = decl;
|
||||
|
Loading…
Reference in New Issue
Block a user