aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-12-04 23:01:32 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2010-12-04 22:01:32 +0000
commit9937ab0287a8205c8431ba082efcd1944d16df8d (patch)
tree323cb63c21832d1661d3b6d929be5d5b558d7e0c /gcc/dwarf2asm.c
parent40e584a1b7e44113f9601766f1a8544335e1419e (diff)
downloadgcc-9937ab0287a8205c8431ba082efcd1944d16df8d.zip
gcc-9937ab0287a8205c8431ba082efcd1944d16df8d.tar.gz
gcc-9937ab0287a8205c8431ba082efcd1944d16df8d.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r--gcc/dwarf2asm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index eefc29f..b480698 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;