diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-04 22:01:32 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-04 22:01:32 +0000 |
commit | f53d83604f156b741380ae066d7ce775e228ee22 (patch) | |
tree | 323cb63c21832d1661d3b6d929be5d5b558d7e0c /gcc/dwarf2asm.c | |
parent | 555491e24f4600b5e8baa1e54562b84c25ca2da3 (diff) | |
download | gcc-f53d83604f156b741380ae066d7ce775e228ee22.tar.gz |
* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
to prevent mangling with lto frontend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r-- | gcc/dwarf2asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index eefc29fd9a3..b480698b49e 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -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; |