aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2asm.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f56b070..7c1b32d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
* lto-cgraph.c (merge_profile_summaries): Fix thinko.
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;